Update database.php
This commit is contained in:
parent
ca856f99c7
commit
2b24e693dc
|
|
@ -40,7 +40,7 @@ class plugin_database {
|
||||||
//$sql .= "where api_key = '".$this->key."' ";
|
//$sql .= "where api_key = '".$this->key."' ";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$sql .= "where username=:username ";
|
$sql .= "where lower(username) = lower(:username) ";
|
||||||
//$sql .= "where username = '".$this->username."' ";
|
//$sql .= "where username = '".$this->username."' ";
|
||||||
}
|
}
|
||||||
if ($_SESSION["user"]["unique"]["text"] == "global") {
|
if ($_SESSION["user"]["unique"]["text"] == "global") {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue