From da3d07cb1bc9e674854d60f32d3663dc79ca5f7c Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 16 Dec 2022 15:54:36 +0100 Subject: [PATCH] issue #1827 bug fixe, do not try to check when sample is empty --- admin/include/functions.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/admin/include/functions.php b/admin/include/functions.php index 654995856..eab6e4bf7 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -3504,6 +3504,11 @@ SELECT $fs_quick_check_ids = array_unique(array_merge($issue1827_ids, $random_image_ids)); + if (count($fs_quick_check_ids) < 1) + { + return; + } + $query = ' SELECT id,