diff options
Diffstat (limited to 'include/section_init.inc.php')
-rw-r--r-- | include/section_init.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/section_init.inc.php b/include/section_init.inc.php index 29a5be5e8..2911d60cc 100644 --- a/include/section_init.inc.php +++ b/include/section_init.inc.php @@ -429,7 +429,7 @@ WHERE { // Main query $query = ' -SELECT image_id +SELECT distinct image_id FROM '.IMAGE_CATEGORY_TABLE.' INNER JOIN '.IMAGES_TABLE.' ON id = image_id WHERE |