From ccfa5d6182c059f7e40ced1fe5317833ffda2716 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 15 Jul 2019 17:50:36 +0200 Subject: [PATCH] fix "wrong operand type", if user enters wrong password --- preferences/inc/class.preferences_password.inc.php | 1 - 1 file changed, 1 deletion(-) diff --git a/preferences/inc/class.preferences_password.inc.php b/preferences/inc/class.preferences_password.inc.php index 93053214c8..698c49378c 100644 --- a/preferences/inc/class.preferences_password.inc.php +++ b/preferences/inc/class.preferences_password.inc.php @@ -71,7 +71,6 @@ class preferences_password if (($errors = self::do_change($content['password'], $content['n_passwd'], $content['n_passwd_2']))) { Framework::message(implode("\n", $errors), 'error'); - $content = array(); } else {