mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
Feature Issue ID 0000601: Filter all public pages with only recent elements
Fix following problem: - if an image appears in several categories (virtual ones) - if you click on that image (the thumbnail) - i have several php warnings/errors and nothing is displayed git-svn-id: http://piwigo.org/svn/trunk@1701 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user