From f60055ed41d0e33e5d2e44d19b763f42180ca582 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Mon, 18 Feb 2013 17:23:04 +0200 Subject: [PATCH] typo in output check --- install/0.9.7/rhel/roundcube-driver.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; }