aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Hößl <tobias@hoessl.eu>2012-02-27 22:17:57 +0000
committerTobias Hößl <tobias@hoessl.eu>2012-02-27 22:17:57 +0000
commit7c30fca98186538eff731519bdd0c76527237192 (patch)
treea15bf7cc00878adbd169fe14b099b6d5e2a08ad5
parente33c2b8f89d0174b6b2bcbd31d8d89c2ee664340 (diff)
downloadvolse-hubzilla-7c30fca98186538eff731519bdd0c76527237192.tar.gz
volse-hubzilla-7c30fca98186538eff731519bdd0c76527237192.tar.bz2
volse-hubzilla-7c30fca98186538eff731519bdd0c76527237192.zip
Avoid a Notice
-rwxr-xr-xboot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 54f318e5e..c89dae27c 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'),