This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 0f08fea166bcb8c8262d098ace376715ebba525f (commit)
from 1337a2d52f2959fca5063651bd83af848879f2b7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=0f08fea166bcb8c8262d098ace376715ebba525f
commit 0f08fea166bcb8c8262d098ace376715ebba525f
Author: Franck Villaume <[email protected]>
Date: Wed Nov 11 16:53:07 2015 +0100
fix user preference paging when not set initially
diff --git a/src/www/admin/grouplist.php b/src/www/admin/grouplist.php
index 1f84c8b..573a2bb 100644
--- a/src/www/admin/grouplist.php
+++ b/src/www/admin/grouplist.php
@@ -41,6 +41,9 @@ if (getStringFromRequest('setpaging')) {
$paging = $u->getPreference('paging');
}
+if (!$paging)
+ $paging = 25;
+
$start = getIntFromRequest('start');
if ($start < 0) {
$start = 0;
diff --git a/src/www/admin/userlist.php b/src/www/admin/userlist.php
index b900f53..2287240 100644
--- a/src/www/admin/userlist.php
+++ b/src/www/admin/userlist.php
@@ -169,6 +169,9 @@ if (getStringFromRequest('setpaging')) {
$paging = $u->getPreference('paging');
}
+if (!$paging)
+ $paging = 25;
+
// Administrative functions
$group_id = getIntFromRequest('group_id');
-----------------------------------------------------------------------
Summary of changes:
src/www/admin/grouplist.php | 3 +++
src/www/admin/userlist.php | 3 +++
2 files changed, 6 insertions(+)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits