summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-12-08 01:28:41 -0500
committerEvan Prodromou <evan@controlyourself.ca>2008-12-08 01:28:41 -0500
commit3e496c19f925d63d319944989c2762130706ff18 (patch)
treee6c474619c2623703a56fd3b0f91d739de1551b3
parent9b4df5056f2dba6b6fa7ac392c2114fd3c1400a0 (diff)
fixup handle function in block action
darcs-hash:20081208062841-5ed1f-be70623070712b4877c8d2fd8aaadba33ebd2180.gz
-rw-r--r--actions/block.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/block.php b/actions/block.php
index a9fcfb49c..4b867594a 100644
--- a/actions/block.php
+++ b/actions/block.php
@@ -54,7 +54,8 @@ class BlockAction extends Action {
}
}
- function handle($args=NULL) {
+ function handle($args) {
+ parent::handle($args);
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
if ($this->arg('block')) {
$this->are_you_sure_form();