Quotes on strings. Dunno why it worked without.
This commit is contained in:
parent
e03f2a97b6
commit
3402fa5715
@ -1477,7 +1477,7 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){
|
|||||||
|
|
||||||
$uid = (($a->profile['profile_uid']) ? $a->profile['profile_uid'] : local_user());
|
$uid = (($a->profile['profile_uid']) ? $a->profile['profile_uid'] : local_user());
|
||||||
|
|
||||||
if (get_pconfig($uid,system,noprofiletabs))
|
if (get_pconfig($uid,'system','noprofiletabs'))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if(x($_GET,'tab'))
|
if(x($_GET,'tab'))
|
||||||
|
Reference in New Issue
Block a user