aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-08-05 13:11:27 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-08-05 13:11:27 +0000
commit2c6e4d7e803d1fa7f1b585dd535f8c2c5fb6357d (patch)
tree052b97828111d761013956643a10ee0e4a7b31bb /phpBB/includes/functions_posting.php
parent4e117116749ad47c1cfcc24cd2cb24c7271aad1c (diff)
downloadforums-2c6e4d7e803d1fa7f1b585dd535f8c2c5fb6357d.tar
forums-2c6e4d7e803d1fa7f1b585dd535f8c2c5fb6357d.tar.gz
forums-2c6e4d7e803d1fa7f1b585dd535f8c2c5fb6357d.tar.bz2
forums-2c6e4d7e803d1fa7f1b585dd535f8c2c5fb6357d.tar.xz
forums-2c6e4d7e803d1fa7f1b585dd535f8c2c5fb6357d.zip
fix r9927 - of course isset()
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9929 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 1 insertions, 1 deletions
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;
}