[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
- [Noalyss-commit] [noalyss] annotated tag rel6814 created (now 0a88e57), Dany De Bontridder, 2015/08/06
- [Noalyss-commit] [noalyss] 04/08: New logo + cosmetic, Dany De Bontridder, 2015/08/06
- [Noalyss-commit] [noalyss] 01/08: add debugging info, Dany De Bontridder, 2015/08/06
- [Noalyss-commit] [noalyss] 03/08: New logo, Dany De Bontridder, 2015/08/06
- [Noalyss-commit] [noalyss] 02/08: Cosmetic and add zoom button for last operations, Dany De Bontridder, 2015/08/06
- [Noalyss-commit] [noalyss] 05/08: New logo + cosmetic, Dany De Bontridder, 2015/08/06
- [Noalyss-commit] [noalyss] 07/08: Accept user in lowercase,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 06/08: Close tag link, Dany De Bontridder, 2015/08/06
- [Noalyss-commit] [noalyss] 08/08: update style and fix some bug, Dany De Bontridder, 2015/08/06