aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2013-11-15 22:37:43 +0000
committerplegall <plg@piwigo.org>2013-11-15 22:37:43 +0000
commitd27e783e5b132b28820a08775e7256f8936aab45 (patch)
tree691d838d0e6f105280a164fe035a6c6df1a7ce3c /admin
parent5f148e96bc0fbe96725552dc106696e5a6856172 (diff)
feature 1668: nb_image_page or recent_period in database will automatically take the nearest (bigger) value in the value list
git-svn-id: http://piwigo.org/svn/trunk@25492 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r--admin/themes/default/template/user_list.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/themes/default/template/user_list.tpl b/admin/themes/default/template/user_list.tpl
index 7e287fadb..426c334d7 100644
--- a/admin/themes/default/template/user_list.tpl
+++ b/admin/themes/default/template/user_list.tpl
@@ -97,7 +97,7 @@ jQuery(document).ready(function() {
*/
function getSliderKeyFromValue(value, values) {
for (var key in values) {
- if (values[key] == value) {
+ if (values[key] >= value) {
return key;
}
}