static App
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user