diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-17 12:40:42 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-17 12:40:42 -0400 |
commit | c51d1521f030cf319ece276dbce25b2408b2e81e (patch) | |
tree | 41181fe61ada6b8c1f20d48a65ff7a9ad6d20a43 /lib | |
parent | 3ea1119e500c23ee918569e2a58cc5abaa1d8a5a (diff) |
uniquify the list of reply nicknames (DOH!)
darcs-hash:20080717164042-84dde-191bc47dc302911e4ceae0d3b1e74116bb95bcba.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 249c467d9..b7226bd58 100644 --- a/lib/util.php +++ b/lib/util.php @@ -880,7 +880,7 @@ function common_save_replies($notice) { return true; } # XXX: is there another way to make an array copy? - $names = ($tname) ? array_unique(array_merge(array(strtolower($tname)), $match[1])) : $match[1]; + $names = ($tname) ? array_unique(array_merge(array(strtolower($tname)), $match[1])) : array_unique($match[1]); $sender = Profile::staticGet($notice->profile_id); # store replied only for first @ (what user/notice what the reply directed, # we assume first @ is it) |