From 2fa5427d360b4630455e3fda28ae19290ec9f641 Mon Sep 17 00:00:00 2001 From: Graham Eames Date: Wed, 28 Sep 2005 20:54:55 +0000 Subject: [PATCH] Ooops git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5233 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/posting.php b/phpBB/posting.php index b8fdd2bb08..636f192b8f 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -318,7 +318,7 @@ if ( $result = $db->sql_query($sql) ) $post_data['has_poll'] = false; $post_data['edit_poll'] = false; } - if ( $mode = 'poll_delete' && !isset($poll_id) ) + if ( $mode == 'poll_delete' && !isset($poll_id) ) { message_die(GENERAL_MESSAGE, $lang['No_such_post']); }