mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 15:16:16 +02:00
[ticket/12150] Add missing space to query for shadow topics
PHPBB3-12150
This commit is contained in:
parent
d97c58aeea
commit
76b7355b87
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user