]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
yet more array munging
authorEvan Prodromou <evan@prodromou.name>
Wed, 16 Jul 2008 03:15:44 +0000 (23:15 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 16 Jul 2008 03:15:44 +0000 (23:15 -0400)
darcs-hash:20080716031544-84dde-a04b4057e5d7aa394ae061daac47f38089ff5343.gz

lib/util.php

index acc907480685ff1cc2dcd9f2f71a98f32669468a..14513448f03156d9b13fb37248404f561499ebc0 100644 (file)
@@ -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)