aboutsummaryrefslogtreecommitdiffstats
path: root/include/account.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/account.php')
-rw-r--r--include/account.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/account.php b/include/account.php
index 88036e2ef..19c13d5bd 100644
--- a/include/account.php
+++ b/include/account.php
@@ -561,7 +561,7 @@ function downgrade_accounts() {
function service_class_allows($uid,$property,$usage = false) {
$a = get_app();
- if($uid == local_user()) {
+ if($uid == local_channel()) {
$service_class = $a->account['account_service_class'];
}
else {
@@ -619,7 +619,7 @@ function account_service_class_allows($aid,$property,$usage = false) {
function service_class_fetch($uid,$property) {
$a = get_app();
- if($uid == local_user()) {
+ if($uid == local_channel()) {
$service_class = $a->account['account_service_class'];
}
else {