aboutsummaryrefslogtreecommitdiffstats
path: root/include/profile_advanced.php
diff options
context:
space:
mode:
authorTobias Hößl <tobias@hoessl.eu>2012-04-17 11:33:50 +0000
committerTobias Hößl <tobias@hoessl.eu>2012-04-17 11:33:50 +0000
commit720c8324c7572ebf51e4083430e060900cb30750 (patch)
tree8852cf4a64f42499825cbe46ba295082ce1cc515 /include/profile_advanced.php
parenta7421990350e2409ee90957dab37e1ff1fc272df (diff)
downloadvolse-hubzilla-720c8324c7572ebf51e4083430e060900cb30750.tar.gz
volse-hubzilla-720c8324c7572ebf51e4083430e060900cb30750.tar.bz2
volse-hubzilla-720c8324c7572ebf51e4083430e060900cb30750.zip
Some Bugfixes, and variable checks
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 '';
}