diff options
author | friendica <info@friendica.com> | 2012-04-17 06:50:09 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-17 06:50:09 -0700 |
commit | 8269d6aa19eb71063ff578b43b237ffd4fea93b1 (patch) | |
tree | 58ff40aa9414f8484a3f1091b616e81db720822e /include/profile_advanced.php | |
parent | e6330e3b966401f83d54bdd08c9ed9ab294643e0 (diff) | |
parent | 720c8324c7572ebf51e4083430e060900cb30750 (diff) | |
download | volse-hubzilla-8269d6aa19eb71063ff578b43b237ffd4fea93b1.tar.gz volse-hubzilla-8269d6aa19eb71063ff578b43b237ffd4fea93b1.tar.bz2 volse-hubzilla-8269d6aa19eb71063ff578b43b237ffd4fea93b1.zip |
Merge pull request #240 from CatoTH/master
Some bugfixes / Notices
Diffstat (limited to 'include/profile_advanced.php')
-rw-r--r-- | include/profile_advanced.php | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/include/profile_advanced.php b/include/profile_advanced.php index 004a58524..bb9850cd0 100644 --- a/include/profile_advanced.php +++ b/include/profile_advanced.php @@ -2,7 +2,7 @@ function advanced_profile(&$a) { - $o .= ''; + $o = ''; $o .= '<h2>' . t('Profile') . '</h2>'; @@ -69,13 +69,12 @@ function advanced_profile(&$a) { if($txt = prepare_text($a->profile['work'])) $profile['work'] = array( t('Work/employment:'), $txt); if($txt = prepare_text($a->profile['education'])) $profile['education'] = array( t('School/education:'), $txt ); - } - - - return replace_macros($tpl, array( - '$title' => t('Profile'), - '$profile' => $profile, - )); + return replace_macros($tpl, array( + '$title' => t('Profile'), + '$profile' => $profile, + )); + } + return ''; } |