Quotes on strings. Dunno why it worked without.

This commit is contained in:
Thomas Willingham 2014-07-13 21:51:26 +01:00
parent e03f2a97b6
commit 3402fa5715

View File

@ -1477,7 +1477,7 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){
$uid = (($a->profile['profile_uid']) ? $a->profile['profile_uid'] : local_user());
if (get_pconfig($uid,system,noprofiletabs))
if (get_pconfig($uid,'system','noprofiletabs'))
return;
if(x($_GET,'tab'))