mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-10-03 02:14:19 +08:00
Fix directadmin-change-password plugin
This commit is contained in:
parent
70f58dca91
commit
cdbc5904fb
2 changed files with 3 additions and 2 deletions
|
@ -124,7 +124,8 @@ class DirectAdminChangePasswordDriver implements \RainLoop\Providers\ChangePassw
|
||||||
|
|
||||||
if (false !== $mResult && 200 === $iCode)
|
if (false !== $mResult && 200 === $iCode)
|
||||||
{
|
{
|
||||||
$aRes = @\parse_str($mResult);
|
$aRes = null;
|
||||||
|
@\parse_str($mResult, $aRes);
|
||||||
if (is_array($aRes) && (!isset($aRes['error']) || (int) $aRes['error'] !== 1))
|
if (is_array($aRes) && (!isset($aRes['error']) || (int) $aRes['error'] !== 1))
|
||||||
{
|
{
|
||||||
$bResult = true;
|
$bResult = true;
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1.0
|
1.1
|
Loading…
Add table
Reference in a new issue