mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
sqLquote subject ...
git-svn-id: file:///svn/phpbb/trunk@2985 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
18f9fa60a7
commit
9273252cfc
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ if (isset($post))
|
||||||
$sql = ($mode == 'post') ? 'INSERT INTO ' . TOPICS_TABLE : 'UPDATE ' . TOPICS_TABLE . ' SET WHERE topic_id = ' . intval($topic_id);
|
$sql = ($mode == 'post') ? 'INSERT INTO ' . TOPICS_TABLE : 'UPDATE ' . TOPICS_TABLE . ' SET WHERE topic_id = ' . intval($topic_id);
|
||||||
$topic_sql = array(
|
$topic_sql = array(
|
||||||
'forum_id' => intval($forum_id),
|
'forum_id' => intval($forum_id),
|
||||||
'topic_title' => $subject,
|
'topic_title' => sql_quote($subject),
|
||||||
'topic_poster' => intval($user->data['user_id']),
|
'topic_poster' => intval($user->data['user_id']),
|
||||||
'topic_time' => $current_time,
|
'topic_time' => $current_time,
|
||||||
'topic_type' => intval($type),
|
'topic_type' => intval($type),
|
||||||
|
|
Loading…
Add table
Reference in a new issue