X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FContent%2FWidget.php;h=641f56329c25bef71f05facc59f9dd1b533fc7d9;hb=7e28db4523223751e923b407654d3072835eb8c9;hp=06841ed924038b9780af21720259d9f0b696f7ff;hpb=ee1acba9eba1f8bc00c3252cdf9f13096219b2d8;p=friendica.git diff --git a/src/Content/Widget.php b/src/Content/Widget.php index 06841ed924..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(Session::getLocalUser(), 'system', 'invites_remaining')); + $x = intval(DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'system', 'invites_remaining')); if ($x || DI::app()->isSiteAdmin()) { DI::page()['aside'] .= '