summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-12-06 12:44:19 -0800
committerBrion Vibber <brion@pobox.com>2010-12-06 12:44:19 -0800
commit2617c40e048aee071b72b4b5f664fab36e6c632d (patch)
tree3cf44db45e87eefe00a3e2de0993394dc6620986 /lib/util.php
parent89f5dd4c182e470f063c760daf59b858cd92f9bf (diff)
parent76f3dc32e0e1aa933931b7cc59030ae20bb4f89b (diff)
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
Conflicts: classes/User.php
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php
index 26b20b5e1..da36121ff 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1075,9 +1075,9 @@ function common_tag_link($tag)
$canonical = common_canonical_tag($tag);
if (common_config('singleuser', 'enabled')) {
// regular TagAction isn't set up in 1user mode
- $user = User::singleUser();
+ $nickname = User::singleUserNickname();
$url = common_local_url('showstream',
- array('nickname' => $user->nickname,
+ array('nickname' => $nickname,
'tag' => $canonical));
} else {
$url = common_local_url('tag', array('tag' => $canonical));