mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:10:11 +00:00
Using getter/setter functions
This commit is contained in:
parent
b4aa796e75
commit
8f46064430
14 changed files with 55 additions and 34 deletions
|
@ -334,7 +334,7 @@ class Widget
|
|||
{
|
||||
$a = DI::app();
|
||||
|
||||
$uid = intval($a->profile_owner);
|
||||
$uid = intval($a->getProfileOwner());
|
||||
|
||||
if (!Feature::isEnabled($uid, 'categories')) {
|
||||
return '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue