aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-08-17 18:36:24 +0200
committerfabrixxm <fabrix.xm@gmail.com>2011-08-17 18:36:24 +0200
commit07b6c868b3a66efc2737dfc6459b4114fea59ba0 (patch)
treef31a4ff5bc91d0ffd3be408af88db8287789e25f /mod/profile.php
parentbdf42473a0341f291cd256323d122aa80bb0cb0b (diff)
downloadvolse-hubzilla-07b6c868b3a66efc2737dfc6459b4114fea59ba0.tar.gz
volse-hubzilla-07b6c868b3a66efc2737dfc6459b4114fea59ba0.tar.bz2
volse-hubzilla-07b6c868b3a66efc2737dfc6459b4114fea59ba0.zip
remove javascript to set selectect nav item. enanche img template prefetch ignoring
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/profile.php b/mod/profile.php
index b309ea647..5a66892da 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -69,8 +69,9 @@ function profile_content(&$a, $update = 0) {
$a->profile['profile_uid'] = $update;
}
else {
- if($a->profile['profile_uid'] == local_user())
- $o .= set_nav_selected('nav-home-link');
+ if($a->profile['profile_uid'] == local_user()) {
+ nav_set_selected('home');
+ }
}
$contact = null;