Skip to content

Commit

Permalink
Fix Security Token issue breaking admin form (closes #28)
Browse files Browse the repository at this point in the history
Introduced by 45e6b4a
  • Loading branch information
selfthinker committed Jan 15, 2017
1 parent 686c219 commit be948cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function handle() {
global $INPUT;
$data = array();

if(!$INPUT->str('pattern')) {
if($INPUT->str('pattern')) {
if (!checkSecurityToken()) return;
$id = cleanID($INPUT->str('pattern'));

Expand Down

0 comments on commit be948cc

Please sign in to comment.