X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FWidget.php;h=641f56329c25bef71f05facc59f9dd1b533fc7d9;hb=4faf08c0643d3e6bbe2a0a77be2ff8c1dbea4d5c;hp=f1f62c33fc9141ca98e96989394088115ce25767;hpb=ec17216dedfd54a07288ac7a9455500a379cff22;p=friendica.git diff --git a/src/Content/Widget.php b/src/Content/Widget.php index f1f62c33fc..641f56329c 100644 --- a/src/Content/Widget.php +++ b/src/Content/Widget.php @@ -1,6 +1,6 @@ get('system', 'invitation_only')) { - $x = intval(DI::pConfig()->get(local_user(), 'system', 'invites_remaining')); + $x = intval(DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'system', 'invites_remaining')); if ($x || DI::app()->isSiteAdmin()) { DI::page()['aside'] .= '