From c0527f79528cb5b45cb3c60342a4469b0f695221 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 15 Jul 2008 23:15:44 -0400 Subject: [PATCH] yet more array munging darcs-hash:20080716031544-84dde-a04b4057e5d7aa394ae061daac47f38089ff5343.gz --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index acc9074806..14513448f0 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)