]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
got the args to array unshift backwards
authorEvan Prodromou <evan@prodromou.name>
Wed, 16 Jul 2008 03:00:22 +0000 (23:00 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 16 Jul 2008 03:00:22 +0000 (23:00 -0400)
darcs-hash:20080716030022-84dde-d24e4881e143163031a7b6c077d3eed77a58b579.gz

lib/util.php

index 5d6ef7681aa67c980cf68af89bdd3e0a8231cf55..322d89b9d282ff08502ffe7a098cb317c837b5cd 100644 (file)
@@ -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,