summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-15 23:00:22 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-15 23:00:22 -0400
commit1e9fabbfa330a202e8eaf961b033146eb27f4f9f (patch)
treee84ff66bf63338f8e374241672856044d7060055
parent225208e634da9cd600038308d26129368d8f4b60 (diff)
got the args to array unshift backwards
darcs-hash:20080716030022-84dde-d24e4881e143163031a7b6c077d3eed77a58b579.gz
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 5d6ef7681..322d89b9d 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -877,7 +877,7 @@ function common_save_replies($notice) {
# XXX: is there another way to make an array copy?
$names = array_merge($match[1], array());
if ($tname) {
- array_unshift($tname, $names);
+ array_unshift($names, $tname);
}
$sender = Profile::staticGet($notice->profile_id);
# store replied only for first @ (what user/notice what the reply directed,