mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
- fix issue when random representant was true
git-svn-id: http://piwigo.org/svn/trunk@2330 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -93,7 +93,7 @@ SELECT image_id
|
||||
FROM '.CATEGORIES_TABLE.' AS c INNER JOIN '.IMAGE_CATEGORY_TABLE.' AS ic
|
||||
ON ic.category_id = c.id';
|
||||
$query.= '
|
||||
WHERE uppercats LIKE \''.$row['uppercats'].',%\''
|
||||
WHERE (c.id='.$row['id'].' OR uppercats LIKE \''.$row['uppercats'].',%\')'
|
||||
.get_sql_condition_FandF
|
||||
(
|
||||
array
|
||||
|
||||
Reference in New Issue
Block a user