Avoid a Notice

This commit is contained in:
Tobias Hößl 2012-02-27 22:17:57 +00:00
parent e33c2b8f89
commit 7c30fca981

View File

@ -1335,7 +1335,7 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){
array(
'label' => t('Profile'),
'url' => $url.'/?tab=profile',
'sel' => (($tab=='profile')?'active':''),
'sel' => ((isset($tab) && $tab=='profile')?'active':''),
),
array(
'label' => t('Photos'),