aboutsummaryrefslogtreecommitdiffstats
path: root/mod/achievements.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/achievements.php')
-rw-r--r--mod/achievements.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/achievements.php b/mod/achievements.php
index 1d0018b08..9d4dad35b 100644
--- a/mod/achievements.php
+++ b/mod/achievements.php
@@ -23,7 +23,7 @@ function achievements_content(&$a) {
$owner = intval($r[0]['channel_id']);
}
- $observer = $a->get_observer();
+ $observer = App::get_observer();
$ob_hash = (($observer) ? $observer['xchan_hash'] : '');
$perms = get_all_perms($owner,$ob_hash);
if(! $perms['view_profile']) {