summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-12-08 12:28:12 -0500
committerEvan Prodromou <evan@controlyourself.ca>2008-12-08 12:28:12 -0500
commitef0b45c0f19eb32e42461f0ec40203097a0c6039 (patch)
tree7a5f4a07357e7aea1f62e5f217b3a4ce056a24a0
parent17fd7b185054e260f0a9a2cedd264ff3ef43d725 (diff)
error in figuring out actions to return to
darcs-hash:20081208172812-5ed1f-58ce42160f0ea5330de578c310897906d0012c5c.gz
-rw-r--r--actions/block.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/block.php b/actions/block.php
index 8956b79ba..fb553da6e 100644
--- a/actions/block.php
+++ b/actions/block.php
@@ -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;
}
}