aboutsummaryrefslogtreecommitdiffstats
path: root/include/section_init.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-02-14 01:14:31 +0000
committerrvelices <rv-github@modusoptimus.com>2006-02-14 01:14:31 +0000
commitf328dd14bba142c256dbd2ff47713ec6813c07c2 (patch)
tree7ab82bc88ebf80ed6ac7dcce2a89f59f30c417b3 /include/section_init.inc.php
parent3411ec84f694c92d71f331a213c522e24448ee41 (diff)
feature 251: Rating For Anonymous users
fix: page['items'] for favorites category and remove old use of $has_next, $has_prev in picture.php (slideshow and favorites section) optimization: one less sql query in picture.php when there are no comments display of the refresh url in redirect.tpl (useful when debugging with browser meta redirects disabled) git-svn-id: http://piwigo.org/svn/trunk@1041 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/section_init.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/section_init.inc.php b/include/section_init.inc.php
index e54b050a0..f864a288e 100644
--- a/include/section_init.inc.php
+++ b/include/section_init.inc.php
@@ -208,7 +208,7 @@ SELECT image_id
$page,
array(
'title' => $lang['favorites'],
- 'items' => array_from_query($query, 'id'),
+ 'items' => array_from_query($query, 'image_id'),
'thumbnails_include' => 'include/category_default.inc.php',
)
);