Permalink
Browse files

Fix Security Token issue breaking admin form (closes #28)

Introduced by 45e6b4a
  • Loading branch information...
selfthinker committed Jan 15, 2017
1 parent 686c219 commit be948cce7179ddca3b06d1752e377a43a9537c68
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin.php
@@ -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'));

0 comments on commit be948cc

Please sign in to comment.