diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-10-30 01:02:48 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-10-30 01:02:48 +0000 |
| commit | 9273252cfce207445c0abf999fd8637b1d448603 (patch) | |
| tree | 62501ce112773e9013e94da8986974c5b85724d7 /phpBB/posting.php | |
| parent | 18f9fa60a7ffb8a2cc9f08ba475842988b456b24 (diff) | |
| download | forums-9273252cfce207445c0abf999fd8637b1d448603.tar forums-9273252cfce207445c0abf999fd8637b1d448603.tar.gz forums-9273252cfce207445c0abf999fd8637b1d448603.tar.bz2 forums-9273252cfce207445c0abf999fd8637b1d448603.tar.xz forums-9273252cfce207445c0abf999fd8637b1d448603.zip | |
sqLquote subject ...
git-svn-id: file:///svn/phpbb/trunk@2985 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index dbd81df4c3..827c35eccd 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -285,7 +285,7 @@ if (isset($post)) $sql = ($mode == 'post') ? 'INSERT INTO ' . TOPICS_TABLE : 'UPDATE ' . TOPICS_TABLE . ' SET WHERE topic_id = ' . intval($topic_id); $topic_sql = array( 'forum_id' => intval($forum_id), - 'topic_title' => $subject, + 'topic_title' => sql_quote($subject), 'topic_poster' => intval($user->data['user_id']), 'topic_time' => $current_time, 'topic_type' => intval($type), |
