aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-10-30 01:02:48 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-10-30 01:02:48 +0000
commit9273252cfce207445c0abf999fd8637b1d448603 (patch)
tree62501ce112773e9013e94da8986974c5b85724d7 /phpBB/posting.php
parent18f9fa60a7ffb8a2cc9f08ba475842988b456b24 (diff)
downloadforums-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.php2
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),