mirror of
https://github.com/friendica/friendica
synced 2025-04-24 00:30:11 +00:00
Remove duplicate profile_uid key in App->profile array
This commit is contained in:
parent
9803c96db4
commit
6d7f0a6fd8
10 changed files with 59 additions and 74 deletions
|
@ -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 '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue