mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-02-24 14:57:26 +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)
|
||||
{
|
||||
$aRes = @\parse_str($mResult);
|
||||
$aRes = null;
|
||||
@\parse_str($mResult, $aRes);
|
||||
if (is_array($aRes) && (!isset($aRes['error']) || (int) $aRes['error'] !== 1))
|
||||
{
|
||||
$bResult = true;
|
||||
|
|
|
@ -1 +1 @@
|
|||
1.0
|
||||
1.1
|
Loading…
Reference in a new issue