typo in output check

This commit is contained in:
Serghey Rodin 2013-02-18 17:23:04 +02:00
commit f60055ed41

View file

@ -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;
}