diff --git a/admin/cat_modify.php b/admin/cat_modify.php index e3daa0def..881723024 100644 --- a/admin/cat_modify.php +++ b/admin/cat_modify.php @@ -207,7 +207,7 @@ $category['nb_images_associated_outside'] = 0; if ($category['nb_images_recursive'] > 0) { // if we don't have "too many" photos, it's faster to compute the orphans with MySQL - if ($category['nb_images_recursive'] < 30000) + if ($category['nb_images_recursive'] < 1000) { $query = ' SELECT