Index: trunk/extensions/Poll/Poll_body.php |
— | — | @@ -436,7 +436,7 @@ |
437 | 437 | } |
438 | 438 | |
439 | 439 | if ( ( ( $creater == $user ) OR ( $controll_delete_right == true ) ) AND ( $controll_delete_blocked != true ) ) { |
440 | | - if( isset($wgRequest->getVal('controll_delete')) AND $wgRequest->getVal('controll_delete') === 1 ) { |
| 440 | + if( $wgRequest->getCheck('controll_delete') AND $wgRequest->getVal('controll_delete') === 1 ) { |
441 | 441 | $dbw = wfGetDB( DB_MASTER ); |
442 | 442 | $user = $wgUser->getName(); |
443 | 443 | |