mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00: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
1 changed files with 3 additions and 3 deletions
|
@ -105,7 +105,7 @@ class posting_api
|
||||||
FROM ' . FORUMS_TABLE . '
|
FROM ' . FORUMS_TABLE . '
|
||||||
WHERE forum_id = ' . (int) $forum_id;
|
WHERE forum_id = ' . (int) $forum_id;
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
$row = $db->sql_fetchrow($query);
|
$row = $db->sql_fetchrow($result);
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
// everything starts out normal, one way or another
|
// everything starts out normal, one way or another
|
||||||
|
@ -234,7 +234,7 @@ class posting_api
|
||||||
FROM ' . FORUMS_TABLE . '
|
FROM ' . FORUMS_TABLE . '
|
||||||
WHERE forum_id = ' . (int) $forum_id;
|
WHERE forum_id = ' . (int) $forum_id;
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
$row = $db->sql_fetchrow($query);
|
$row = $db->sql_fetchrow($result);
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
// everything starts out normal, one way or another
|
// 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_poster_name'] = $username;
|
||||||
$forum_data['forum_last_user_id'] = $user_id;
|
$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;
|
$forum_data['forum_last_post_time'] = $time;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue