Changeset 1701


Ignore:
Timestamp:
Jan 8, 2007, 7:14:49 AM (17 years ago)
Author:
rub
Message:

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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/section_init.inc.php

    r1690 r1701  
    430430      // Main query
    431431      $query = '
    432 SELECT image_id
     432SELECT distinct image_id
    433433  FROM '.IMAGE_CATEGORY_TABLE.'
    434434    INNER JOIN '.IMAGES_TABLE.' ON id = image_id
Note: See TracChangeset for help on using the changeset viewer.