mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
Fixed bug with deleting only post in forum
git-svn-id: file:///svn/phpbb/trunk@1148 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1124,7 +1124,9 @@ if( ( $submit || $confirm ) && !$error )
|
|||||||
message_die(GENERAL_ERROR, "Couldn't obtain new last post id for the forum", "", __LINE__, __FILE__, $sql);
|
message_die(GENERAL_ERROR, "Couldn't obtain new last post id for the forum", "", __LINE__, __FILE__, $sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
$new_last_sql = ", forum_last_post_id = " . $row['new_post_id'];
|
$last_post_id_forum = ( !empty($row['new_post_id']) ) ? $row['new_post_id'] : 0;
|
||||||
|
|
||||||
|
$new_last_sql = ", forum_last_post_id = " . $last_post_id_forum;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user