diff --git a/plugins/rest-change-password/index.php b/plugins/rest-change-password/index.php index 115a7303f..63aeaa446 100644 --- a/plugins/rest-change-password/index.php +++ b/plugins/rest-change-password/index.php @@ -24,7 +24,7 @@ class RestChangePasswordPlugin extends \RainLoop\Plugins\AbstractPlugin $sFieldOldpassword = \trim($this->Config()->Get('plugin', 'rest_field_oldpassword', '')); $sFieldNewpassword = \trim($this->Config()->Get('plugin', 'rest_field_newpassword', '')); - if (!empty($sHost) && (!empty($sKey)) + if (!empty($sHost) && (!empty($sKey))) { include_once __DIR__.'/RestChangePasswordDriver.php';