aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-11-25 22:45:52 +0000
committerplegall <plg@piwigo.org>2005-11-25 22:45:52 +0000
commit6fd6d2721bcd156c020e05fefc104bd397d3c14d (patch)
treee503394a097ae851ce9d3c6580c672f034790c2c
parent519d3ebc6bd9d84a68187f0ac86fca5867f2d638 (diff)
- bug 219 fixed: displaying "all" in "global mode" doesn't display all
pictures but only all pictures from current display to end. git-svn-id: http://piwigo.org/svn/branches/branch-1_5@955 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/element_set.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/element_set.php b/admin/element_set.php
index 82920d9a8..f02804c27 100644
--- a/admin/element_set.php
+++ b/admin/element_set.php
@@ -167,7 +167,8 @@ SELECT DISTINCT(image_id)
if (!isset($_GET['start'])
or !is_numeric($_GET['start'])
- or $_GET['start'] < 0)
+ or $_GET['start'] < 0
+ or (isset($_GET['display']) and 'all' == $_GET['display']))
{
$page['start'] = 0;
}