summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-15 23:15:44 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-15 23:15:44 -0400
commitc0527f79528cb5b45cb3c60342a4469b0f695221 (patch)
tree8e64feea5f865f2531a19726a7a3e7cc0b50ed88 /lib
parent542cadd33c0fbf672192ce3e16b69b2a285ea421 (diff)
yet more array munging
darcs-hash:20080716031544-84dde-a04b4057e5d7aa394ae061daac47f38089ff5343.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index acc907480..14513448f 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -875,7 +875,7 @@ function common_save_replies($notice) {
return true;
}
# XXX: is there another way to make an array copy?
- $names = ($tname) ? array_unique(array_merge($match[1], array(strtolower($tname)))) : $match[1];
+ $names = ($tname) ? array_unique(array(strtolower($tname)), array_merge($match[1])) : $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)