diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2003-06-17 19:34:17 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2003-06-17 19:34:17 +0000 |
commit | 8107f1485264dd9d63a079e2367aa41c1f02235b (patch) | |
tree | 4427e9cbf4b1adb34a47be1f137c68cc3a5fc6db /phpBB/includes/functions_posting.php | |
parent | 86e67daaaa9f0e1f88df0f3b269eaeecc83a7f24 (diff) | |
download | forums-8107f1485264dd9d63a079e2367aa41c1f02235b.tar forums-8107f1485264dd9d63a079e2367aa41c1f02235b.tar.gz forums-8107f1485264dd9d63a079e2367aa41c1f02235b.tar.bz2 forums-8107f1485264dd9d63a079e2367aa41c1f02235b.tar.xz forums-8107f1485264dd9d63a079e2367aa41c1f02235b.zip |
added: download notice for people unable to see files attached to posts
changed: put attachment display into a function now called by posting preview and viewtopic (functions_display.php)
fixed: small fix in posting routines, cleanups...
git-svn-id: file:///svn/phpbb/trunk@4139 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 7e28baf2a2..aa4376a960 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -1023,7 +1023,7 @@ function submit_post($mode, $message, $subject, $username, $topic_type, $bbcode_ $sql = "UPDATE " . POLL_OPTIONS_TABLE . " SET poll_option_text = '" . $db->sql_escape($poll['poll_options'][$i]) . "' WHERE poll_option_id = " . $cur_poll_options[$i]['poll_option_id'] . " - AND topic_id = $topic_id"; + AND topic_id = " . $post_data['topic_id']; $db->sql_query($sql); } } |