aboutsummaryrefslogtreecommitdiffstats
path: root/mod/subthread.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/subthread.php')
-rwxr-xr-xmod/subthread.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/subthread.php b/mod/subthread.php
index 9438b545c..aca034d43 100755
--- a/mod/subthread.php
+++ b/mod/subthread.php
@@ -37,7 +37,7 @@ function subthread_content(&$a) {
$item = $r[0];
$owner_uid = $item['uid'];
- $observer = $a->get_observer();
+ $observer = App::get_observer();
$ob_hash = (($observer) ? $observer['xchan_hash'] : '');
if(! perm_is_allowed($owner_uid,$ob_hash,'post_comments'))