mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02: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:
@@ -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
|
// 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;
|
$post_approval = ($data['force_approved_state']) ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user