diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-07-27 17:33:27 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-07-27 17:33:27 +0000 |
commit | acf0c0ddebf13b6075b6dac81c7675dd04d4a692 (patch) | |
tree | b2452341efa35b710560ea75e70401b0f5c474c2 /phpBB/posting.php | |
parent | 92c25a3e6c99bb071710b2f5dc5939262924233c (diff) | |
download | forums-acf0c0ddebf13b6075b6dac81c7675dd04d4a692.tar forums-acf0c0ddebf13b6075b6dac81c7675dd04d4a692.tar.gz forums-acf0c0ddebf13b6075b6dac81c7675dd04d4a692.tar.bz2 forums-acf0c0ddebf13b6075b6dac81c7675dd04d4a692.tar.xz forums-acf0c0ddebf13b6075b6dac81c7675dd04d4a692.zip |
err, forgot to commit
git-svn-id: file:///svn/phpbb/trunk@7961 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r-- | phpBB/posting.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index c2712009a1..92b44b3f21 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -476,12 +476,12 @@ if ($save && $user->data['is_registered'] && $auth->acl_get('u_savedrafts') && ( if (confirm_box(true)) { $sql = 'INSERT INTO ' . DRAFTS_TABLE . ' ' . $db->sql_build_array('INSERT', array( - 'user_id' => $user->data['user_id'], - 'topic_id' => $topic_id, - 'forum_id' => $forum_id, - 'save_time' => $current_time, - 'draft_subject' => $subject, - 'draft_message' => $message) + 'user_id' => (int) $user->data['user_id'], + 'topic_id' => (int) $topic_id, + 'forum_id' => (int) $forum_id, + 'save_time' => (int) $current_time, + 'draft_subject' => (string) $subject, + 'draft_message' => (string) $message) ); $db->sql_query($sql); |