From: Evan Prodromou Date: Wed, 16 Jul 2008 03:15:44 +0000 (-0400) Subject: yet more array munging X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c0527f79528cb5b45cb3c60342a4469b0f695221;p=quix0rs-gnu-social.git yet more array munging darcs-hash:20080716031544-84dde-a04b4057e5d7aa394ae061daac47f38089ff5343.gz --- 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)