mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
prepare files, last commit before committing initial attachment functionality - please see thread within development forum.
git-svn-id: file:///svn/phpbb/trunk@3695 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -31,7 +31,7 @@ class parse_message
|
||||
$this->message_mode = $message_type;
|
||||
}
|
||||
|
||||
function parse(&$message, $html, $bbcode, $uid, $url, $smilies, $attach = false)
|
||||
function parse(&$message, $html, $bbcode, $uid, $url, $smilies, $attach)
|
||||
{
|
||||
global $config, $db, $user;
|
||||
|
||||
@@ -54,7 +54,7 @@ class parse_message
|
||||
if (intval($config['max_post_smilies']) && $smilies )
|
||||
{
|
||||
$sql = "SELECT code
|
||||
FROM " . SMILIES_TABLE;
|
||||
FROM " . SMILIES_TABLE;
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
$match = 0;
|
||||
@@ -156,7 +156,7 @@ class parse_message
|
||||
global $db, $user;
|
||||
|
||||
$sql = "SELECT *
|
||||
FROM " . SMILIES_TABLE;
|
||||
FROM " . SMILIES_TABLE;
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
if ($row = $db->sql_fetchrow($result))
|
||||
|
Reference in New Issue
Block a user