diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2007-10-03 15:15:33 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2007-10-03 15:15:33 +0000 |
commit | c1889ade60a25e1f46c5ca92f7599978615f7712 (patch) | |
tree | 5448c578ebf054b5c1db5ca4946180030f61d812 /phpBB | |
parent | 70c531c686d1961701836a8b47a2257657b07586 (diff) | |
download | forums-c1889ade60a25e1f46c5ca92f7599978615f7712.tar forums-c1889ade60a25e1f46c5ca92f7599978615f7712.tar.gz forums-c1889ade60a25e1f46c5ca92f7599978615f7712.tar.bz2 forums-c1889ade60a25e1f46c5ca92f7599978615f7712.tar.xz forums-c1889ade60a25e1f46c5ca92f7599978615f7712.zip |
#14531
git-svn-id: file:///svn/phpbb/trunk@8122 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/functions_posting.php | 6 | ||||
-rw-r--r-- | phpBB/styles/subsilver2/template/ucp_register.html | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 69ab459224..d62a0d7719 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -1930,9 +1930,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u } $sql_insert_ary = array(); - $sql_delete_array = array(); - print_r($cur_poll_options); for ($i = 0, $size = sizeof($poll['poll_options']); $i < $size; $i++) { if (strlen(trim($poll['poll_options'][$i]))) @@ -1955,10 +1953,6 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u $db->sql_query($sql); } } - else if (!empty($cur_poll_options[$i])) - { - $sql_delete_array[] = $cur_poll_options[$i]['poll_option_id']; - } } $db->sql_multi_insert(POLL_OPTIONS_TABLE, $sql_insert_ary); diff --git a/phpBB/styles/subsilver2/template/ucp_register.html b/phpBB/styles/subsilver2/template/ucp_register.html index 37f9924e2e..cea48f17fa 100644 --- a/phpBB/styles/subsilver2/template/ucp_register.html +++ b/phpBB/styles/subsilver2/template/ucp_register.html @@ -22,7 +22,7 @@ <!-- IF ERROR --> <tr> - <td class="row3" colspan="2" align="center"><span class="gensmall error">{ERROR}</td> + <td class="row3" colspan="2" align="center"><span class="gensmall error">{ERROR}</span></td> </tr> <!-- ENDIF --> |