From 6d28f9c98e8b436e0f79f0abb56f4d706fe3722d Mon Sep 17 00:00:00 2001 From: Jason Puglisi Date: Thu, 26 Feb 2015 22:51:45 -0500 Subject: [PATCH] Fixed error that would prevent posting without ['mod'] --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.php b/post.php index d1c963f5..d33c8150 100644 --- a/post.php +++ b/post.php @@ -16,7 +16,7 @@ if (get_magic_quotes_gpc()) { $_POST = strip_array($_POST); } -if (!$_POST['mod'] && $config['board_locked']) { +if ((!isset($_POST['mod']) || !$_POST['mod']) && $config['board_locked']) { error("Board is locked"); }