projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix networking display on profiles
[platal.git]
/
plugins
/
function.profile.php
diff --git
a/plugins/function.profile.php
b/plugins/function.profile.php
index
340e9ad
..
dfc4bf3
100644
(file)
--- a/
plugins/function.profile.php
+++ b/
plugins/function.profile.php
@@
-47,7
+47,7
@@
function smarty_function_profile($params, &$smarty)
$name = '<a href="profile/' . $profile->hrid() . '" class="popup2">' . $name . '</a>';
}
}
$name = '<a href="profile/' . $profile->hrid() . '" class="popup2">' . $name . '</a>';
}
}
- if ($with_groupperms && $user instanceof User && $user->group_perms == 'admin') {
+ if ($with_groupperms && $user instanceof User && $user->group_perms == 'admin'
&& !empty($name)
) {
$name = '<strong>' . $name . '</strong>';
}
return $name;
$name = '<strong>' . $name . '</strong>';
}
return $name;