Merged in bugfix/HOR-4385 (pull request #6487)
HOR-4385 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
@@ -1276,22 +1276,6 @@ class EmailServer
|
|||||||
|
|
||||||
while ($rsCriteria->next()) {
|
while ($rsCriteria->next()) {
|
||||||
$row = $rsCriteria->getRow();
|
$row = $rsCriteria->getRow();
|
||||||
|
|
||||||
$passwd = $row["MESS_PASSWORD"];
|
|
||||||
$passwdDec = G::decrypt($passwd, "EMAILENCRYPT");
|
|
||||||
$auxPass = explode("hash:", $passwdDec);
|
|
||||||
|
|
||||||
if (count($auxPass) > 1) {
|
|
||||||
if (count($auxPass) == 2) {
|
|
||||||
$passwd = $auxPass[1];
|
|
||||||
} else {
|
|
||||||
array_shift($auxPass);
|
|
||||||
$passwd = implode("", $auxPass);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$row["MESS_PASSWORD"] = $passwd;
|
|
||||||
|
|
||||||
$arrayEmailServer[] = $this->getEmailServerDataFromRecord($row);
|
$arrayEmailServer[] = $this->getEmailServerDataFromRecord($row);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user