fix r9927 - of course isset()

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9929 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2009-08-05 13:11:27 +00:00
parent 4e11711674
commit 2c6e4d7e80

View file

@ -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;
}