mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Fix #181
This commit is contained in:
parent
c13264c207
commit
b081d97b3c
1 changed files with 2 additions and 2 deletions
|
@ -437,7 +437,7 @@ class Users{
|
||||||
try {
|
try {
|
||||||
$dbl = new DBLayer("lib");
|
$dbl = new DBLayer("lib");
|
||||||
$dbl->insert("ams_querycache", array("type" => "change_pass",
|
$dbl->insert("ams_querycache", array("type" => "change_pass",
|
||||||
"query" => json_encode(array($values["user"],$values["pass"])), "db" => "shard"));
|
"query" => json_encode(array($user,$pass)), "db" => "shard"));
|
||||||
return "shardoffline";
|
return "shardoffline";
|
||||||
}catch (PDOException $e) {
|
}catch (PDOException $e) {
|
||||||
return "liboffline";
|
return "liboffline";
|
||||||
|
@ -467,7 +467,7 @@ class Users{
|
||||||
try {
|
try {
|
||||||
$dbl = new DBLayer("lib");
|
$dbl = new DBLayer("lib");
|
||||||
$dbl->insert("ams_querycache", array("type" => "change_mail",
|
$dbl->insert("ams_querycache", array("type" => "change_mail",
|
||||||
"query" => json_encode(array($values["user"],$values["mail"])), "db" => "shard"));
|
"query" => json_encode(array($user,$mail)), "db" => "shard"));
|
||||||
return "shardoffline";
|
return "shardoffline";
|
||||||
}catch (PDOException $e) {
|
}catch (PDOException $e) {
|
||||||
return "liboffline";
|
return "liboffline";
|
||||||
|
|
Loading…
Reference in a new issue