mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 20:40:24 +02:00
[ticket/12150] Add missing space to query for shadow topics
PHPBB3-12150
This commit is contained in:
@@ -2328,7 +2328,7 @@ function prune($forum_id, $prune_mode, $prune_date, $prune_flags = 0, $auto_sync
|
||||
|
||||
if ($prune_mode == 'shadow')
|
||||
{
|
||||
$sql_and .= ' AND topic_type = ' . ITEM_MOVED . "AND topic_last_post_time < $prune_date";
|
||||
$sql_and .= ' AND topic_status = ' . ITEM_MOVED . " AND topic_last_post_time < $prune_date";
|
||||
}
|
||||
|
||||
$sql = 'SELECT topic_id
|
||||
|
Reference in New Issue
Block a user