diff --git a/plugins/directadmin-change-password/DirectAdminChangePasswordDriver.php b/plugins/directadmin-change-password/DirectAdminChangePasswordDriver.php index a52e84685..b65bdb60f 100644 --- a/plugins/directadmin-change-password/DirectAdminChangePasswordDriver.php +++ b/plugins/directadmin-change-password/DirectAdminChangePasswordDriver.php @@ -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; diff --git a/plugins/directadmin-change-password/VERSION b/plugins/directadmin-change-password/VERSION index 9f8e9b69a..b123147e2 100644 --- a/plugins/directadmin-change-password/VERSION +++ b/plugins/directadmin-change-password/VERSION @@ -1 +1 @@ -1.0 \ No newline at end of file +1.1 \ No newline at end of file