aboutsummaryrefslogtreecommitdiffstats
path: root/include/section_init.inc.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2009-11-29 14:08:43 +0000
committernikrou <nikrou@piwigo.org>2009-11-29 14:08:43 +0000
commit2f8800b35b51fb71d8d61b1f809b28a5097c5801 (patch)
treea24b19e2c98be127c2c4436868e393b1d42e907a /include/section_init.inc.php
parentad796f152f38a37c3c9be438ee9a79ba7b307ebd (diff)
Feature 1255 :
misspelled function parenthesis missing git-svn-id: http://piwigo.org/svn/trunk@4388 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/section_init.inc.php')
-rw-r--r--include/section_init.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/section_init.inc.php b/include/section_init.inc.php
index e9bb7730a..2abe2e63b 100644
--- a/include/section_init.inc.php
+++ b/include/section_init.inc.php
@@ -443,7 +443,7 @@ SELECT image_id
}
$query = '
-SELECT DISTINCT(id)'.get_extra_fields($conf['order_by'].'
+SELECT DISTINCT(id)'.get_extra_fields($conf['order_by']).'
FROM '.IMAGES_TABLE.'
INNER JOIN '.IMAGE_CATEGORY_TABLE.' AS ic ON id = ic.image_id
WHERE
@@ -531,7 +531,7 @@ SELECT DISTINCT(id), average_rate
else if ($page['section'] == 'list')
{
$query ='
-SELECT DISTINCT(id)'.get_extra_fields($conf['order_by'].'
+SELECT DISTINCT(id)'.get_extra_fields($conf['order_by']).'
FROM '.IMAGES_TABLE.'
INNER JOIN '.IMAGE_CATEGORY_TABLE.' AS ic ON id = ic.image_id
WHERE image_id IN ('.implode(',', $page['list']).')