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, 6.1 has been updated
via 037ab808f4c974826f18eb9018202d40ad45bace (commit)
from efdd5a80704d448199d10be748ee7075314256d3 (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=037ab808f4c974826f18eb9018202d40ad45bace
commit 037ab808f4c974826f18eb9018202d40ad45bace
Author: Franck Villaume <[email protected]>
Date: Wed Nov 29 16:24:16 2017 +0000
admin user list: fix SQL condition.
diff --git a/src/www/admin/userlist.php b/src/www/admin/userlist.php
index f20dc45..0a29df0 100644
--- a/src/www/admin/userlist.php
+++ b/src/www/admin/userlist.php
@@ -218,7 +218,7 @@ if ($usingplugin) {
$qpa = db_construct_qpa(false, 'SELECT user_id FROM users WHERE
users.user_id != 100');
if ($user_name_search) {
- $qpa = db_construct_qpa($qpa, ' AND lower(user_name) LIKE $1 OR
lower(lastname) LIKE $1', array(strtolower("$user_name_search%")));
+ $qpa = db_construct_qpa($qpa, ' AND (lower(user_name) LIKE $1
OR lower(lastname) LIKE $1)', array(strtolower("$user_name_search%")));
$msg = sprintf(_('User list beginning with ā%sā for all
projects'), $user_name_search);
$filter .= '&user_name_search='.$user_name_search;
} else {
-----------------------------------------------------------------------
Summary of changes:
src/www/admin/userlist.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits