mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-13 20:28:44 +01:00
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@8268 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
7f2d596c08
commit
7c793ba9d7
@ -611,7 +611,7 @@ if ($submit || $preview || $refresh)
|
||||
if ($poll_delete && $mode == 'edit' && sizeof($post_data['poll_options']) &&
|
||||
((!$post_data['poll_last_vote'] && $post_data['poster_id'] == $user->data['user_id'] && $auth->acl_get('f_delete', $forum_id)) || $auth->acl_get('m_delete', $forum_id)))
|
||||
{
|
||||
if ($submit && check_form_key('posting'))
|
||||
if ($submit && check_form_key('posting'))
|
||||
{
|
||||
$sql = 'DELETE FROM ' . POLL_OPTIONS_TABLE . "
|
||||
WHERE topic_id = $topic_id";
|
||||
|
Loading…
x
Reference in New Issue
Block a user