mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-09 00:55:23 +02:00
Some fixes
git-svn-id: file:///svn/phpbb/trunk@8488 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c5081a685e
commit
4879a7a075
@ -105,7 +105,7 @@ class posting_api
|
||||
FROM ' . FORUMS_TABLE . '
|
||||
WHERE forum_id = ' . (int) $forum_id;
|
||||
$result = $db->sql_query($sql);
|
||||
$row = $db->sql_fetchrow($query);
|
||||
$row = $db->sql_fetchrow($result);
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
// everything starts out normal, one way or another
|
||||
@ -234,7 +234,7 @@ class posting_api
|
||||
FROM ' . FORUMS_TABLE . '
|
||||
WHERE forum_id = ' . (int) $forum_id;
|
||||
$result = $db->sql_query($sql);
|
||||
$row = $db->sql_fetchrow($query);
|
||||
$row = $db->sql_fetchrow($result);
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
// everything starts out normal, one way or another
|
||||
@ -287,7 +287,7 @@ class posting_api
|
||||
{
|
||||
$forum_data['forum_last_poster_name'] = $username;
|
||||
$forum_data['forum_last_user_id'] = $user_id;
|
||||
$forum_data['forum_last_post_title'] = $topic_title;
|
||||
$forum_data['forum_last_post_title'] = $post_title;
|
||||
$forum_data['forum_last_post_time'] = $time;
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user