]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
error in figuring out actions to return to
authorEvan Prodromou <evan@controlyourself.ca>
Mon, 8 Dec 2008 17:28:12 +0000 (12:28 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 8 Dec 2008 17:28:12 +0000 (12:28 -0500)
darcs-hash:20081208172812-5ed1f-58ce42160f0ea5330de578c310897906d0012c5c.gz

actions/block.php

index 8956b79ba5795dc0444f3475e4a1b8fc037c218d..fb553da6e957d557f9801f1ed159065f62998817 100644 (file)
@@ -159,7 +159,7 @@ class BlockAction extends Action {
             if ($k == 'returnto-action') {
                 $action = $v;
             } else if (substr($k, 0, 9) == 'returnto-') {
-                $args[$k] = substr($k, 9);
+                $args[substr($k, 9)] = $v;
             }
         }