diff --git a/install/0.9.7/rhel/roundcube-driver.php b/install/0.9.7/rhel/roundcube-driver.php index 0fb2c4be..b8695bd1 100644 --- a/install/0.9.7/rhel/roundcube-driver.php +++ b/install/0.9.7/rhel/roundcube-driver.php @@ -47,8 +47,7 @@ class rcube_vesta_password $result = fread($fp, 2048); fclose($fp); - - if(strpos($result, 'ok') && !strpos($html, 'error')) + if(strpos($result, 'ok') && !strpos($result, 'error')) { return PASSWORD_SUCCESS; }