fixup handle function in block action

darcs-hash:20081208062841-5ed1f-be70623070712b4877c8d2fd8aaadba33ebd2180.gz
This commit is contained in:
Evan Prodromou 2008-12-08 01:28:41 -05:00
parent 9b4df5056f
commit 3e496c19f9

View File

@ -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();