mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
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:
parent
4e11711674
commit
2c6e4d7e80
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue