Skip to content

Commit

Permalink
Feature Issue ID 0000601: Filter all public pages with only recent el…
Browse files Browse the repository at this point in the history
…ements

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
  • Loading branch information
rub committed Jan 8, 2007
1 parent 2bac6aa commit 75246a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/section_init.inc.php
Expand Up @@ -429,7 +429,7 @@
{
// Main query
$query = '
SELECT image_id
SELECT distinct image_id
FROM '.IMAGE_CATEGORY_TABLE.'
INNER JOIN '.IMAGES_TABLE.' ON id = image_id
WHERE
Expand Down

0 comments on commit 75246a0

Please sign in to comment.