1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 08:17:47 +02:00

ok, i am commiting this one, before i am going to disable main posting parts for revamping... i will commit the changes when posting works again then.

git-svn-id: file:///svn/phpbb/trunk@3563 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2003-02-27 12:56:36 +00:00
parent d128d5d800
commit ff93d24821
2 changed files with 28 additions and 14 deletions

View File

@@ -53,7 +53,8 @@ class parse_message
// Smiley check
if (intval($config['max_post_smilies']) && $smilies )
{
$sql = "SELECT code FROM " . SMILIES_TABLE;
$sql = "SELECT code
FROM " . SMILIES_TABLE;
$result = $db->sql_query($sql);
$match = 0;
@@ -154,7 +155,8 @@ class parse_message
{
global $db, $user;
$sql = "SELECT * FROM " . SMILIES_TABLE;
$sql = "SELECT *
FROM " . SMILIES_TABLE;
$result = $db->sql_query($sql);
if ($row = $db->sql_fetchrow($result))