Remove duplicate profile_uid key in App->profile array
This commit is contained in:
@@ -301,7 +301,7 @@ class Widget
|
||||
{
|
||||
$a = DI::app();
|
||||
|
||||
$uid = intval($a->profile['profile_uid']);
|
||||
$uid = intval($a->profile['uid']);
|
||||
|
||||
if (!Feature::isEnabled($uid, 'categories')) {
|
||||
return '';
|
||||
@@ -418,7 +418,7 @@ class Widget
|
||||
{
|
||||
$a = DI::app();
|
||||
|
||||
$uid = intval($a->profile['profile_uid']);
|
||||
$uid = intval($a->profile['uid']);
|
||||
|
||||
if (!$uid || !$a->profile['url']) {
|
||||
return '';
|
||||
|
||||
Reference in New Issue
Block a user