diff options
author | Evan Prodromou <evan@status.net> | 2010-12-06 17:21:38 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-12-06 17:21:38 -0500 |
commit | b35352790f17ddaca4debe767f22198cf0343cbc (patch) | |
tree | a410977653f46f11f86ae0383b464ec25841c8f1 /lib/util.php | |
parent | 49757c79ee732cce179fe5f2d542dc93005943b5 (diff) | |
parent | 76f3dc32e0e1aa933931b7cc59030ae20bb4f89b (diff) |
Merge branch 'master' of gitorious.org:statusnet/mainline
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php index d50fa2081..a1ea1f24d 100644 --- a/lib/util.php +++ b/lib/util.php @@ -975,9 +975,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)); |