X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fprofile_advanced.php;h=bb9850cd0279e2d93400a7b01fb76c45c7e54467;hb=91d1ef36d8e2bd117160418cb82a39c7b2353c91;hp=004a58524b53385c03e32b43feca2759fb59301d;hpb=850560519a4bbe9949368933e115f767aeb90b73;p=friendica.git diff --git a/include/profile_advanced.php b/include/profile_advanced.php old mode 100755 new mode 100644 index 004a58524b..bb9850cd02 --- a/include/profile_advanced.php +++ b/include/profile_advanced.php @@ -2,7 +2,7 @@ function advanced_profile(&$a) { - $o .= ''; + $o = ''; $o .= '

' . t('Profile') . '

'; @@ -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 ''; }