diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-02-02 17:51:05 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-03-29 21:57:09 +0100 |
commit | 76b7355b8744345700a61fa635d7738f9726875e (patch) | |
tree | bea96dd87b0c1b4844efe32d46976a36aa87969f /phpBB/includes/functions_admin.php | |
parent | d97c58aeeaf24b6d76e21642e1764b471f212d87 (diff) | |
download | forums-76b7355b8744345700a61fa635d7738f9726875e.tar forums-76b7355b8744345700a61fa635d7738f9726875e.tar.gz forums-76b7355b8744345700a61fa635d7738f9726875e.tar.bz2 forums-76b7355b8744345700a61fa635d7738f9726875e.tar.xz forums-76b7355b8744345700a61fa635d7738f9726875e.zip |
[ticket/12150] Add missing space to query for shadow topics
PHPBB3-12150
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index a277429c32..2bf8e6dcf0 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -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 |