From 2c6e4d7e803d1fa7f1b585dd535f8c2c5fb6357d Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Wed, 5 Aug 2009 13:11:27 +0000 Subject: [PATCH] fix r9927 - of course isset() git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9929 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 0991035c32..1385934c0e 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -1685,7 +1685,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u } // Mods are able to force approved/unapproved posts. True means the post is approved, false the post is unapproved - if ($data['force_approved_state']) + if (isset($data['force_approved_state'])) { $post_approval = ($data['force_approved_state']) ? 1 : 0; }