forked from extern/egroupware
fix "wrong operand type", if user enters wrong password
This commit is contained in:
parent
d5b14fa205
commit
ccfa5d6182
@ -71,7 +71,6 @@ class preferences_password
|
|||||||
if (($errors = self::do_change($content['password'], $content['n_passwd'], $content['n_passwd_2'])))
|
if (($errors = self::do_change($content['password'], $content['n_passwd'], $content['n_passwd_2'])))
|
||||||
{
|
{
|
||||||
Framework::message(implode("\n", $errors), 'error');
|
Framework::message(implode("\n", $errors), 'error');
|
||||||
$content = array();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user