summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}