From: Tobias Hößl Date: Mon, 27 Feb 2012 22:17:57 +0000 (+0000) Subject: Avoid a Notice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7c30fca98186538eff731519bdd0c76527237192;p=friendica.git Avoid a Notice --- diff --git a/boot.php b/boot.php index 54f318e5e9..c89dae27cc 100755 --- a/boot.php +++ b/boot.php @@ -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'),