noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 07/08: Accept user in lowercase


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 07/08: Accept user in lowercase
Date: Thu, 06 Aug 2015 23:36:22 +0000

sparkyx pushed a commit to annotated tag rel6814
in repository noalyss.

commit 6633c7d0df9177a1c2eaca2787042473af97aabd
Author: Dany De Bontridder <address@hidden>
Date:   Sun Aug 2 13:21:47 2015 +0200

    Accept user in lowercase
---
 include/class_user.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/class_user.php b/include/class_user.php
index a76c584..0dbaf16 100644
--- a/include/class_user.php
+++ b/include/class_user.php
@@ -97,7 +97,7 @@ class User
                  the database thanks it login */
                if ($this->id < 0)
                {
-                       $sql_cond = "   where use_login=$1";
+                       $sql_cond = "   where use_login=lower($1)";
                        $sql_array = array($this->login);
                }
                else



reply via email to

[Prev in Thread] Current Thread [Next in Thread]