aboutsummaryrefslogtreecommitdiffstats
path: root/include/profile_advanced.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2012-04-20 13:42:33 +0200
committerzottel <github@zottel.net>2012-04-20 13:42:33 +0200
commit9663299da1be50eef4327778fae619fc6f9edef4 (patch)
tree5cd9b93f16c344cf896ac8d4e2a4a818fe21e783 /include/profile_advanced.php
parent041f74dc775424f686a1cd95c00e0d63bfc4b99c (diff)
parent0e25376e4afea4e5d96c233594feef0a35ca314c (diff)
downloadvolse-hubzilla-9663299da1be50eef4327778fae619fc6f9edef4.tar.gz
volse-hubzilla-9663299da1be50eef4327778fae619fc6f9edef4.tar.bz2
volse-hubzilla-9663299da1be50eef4327778fae619fc6f9edef4.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'include/profile_advanced.php')
-rw-r--r--include/profile_advanced.php15
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 '';
}