From ba5fef320e876efabbbf67a4aaddd38f09c10c28 Mon Sep 17 00:00:00 2001 From: yuri Date: Fri, 31 Mar 2017 13:53:48 +0300 Subject: [PATCH] fix user changePassword method --- application/Espo/Services/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Espo/Services/User.php b/application/Espo/Services/User.php index b711d365c0..64935ecc9b 100644 --- a/application/Espo/Services/User.php +++ b/application/Espo/Services/User.php @@ -97,7 +97,7 @@ class User extends Record return $result; } - public function changePassword($userId, $password, $checkCurrentPassword = false, $currentPassword) + public function changePassword($userId, $password, $checkCurrentPassword = false, $currentPassword = null) { $user = $this->getEntityManager()->getEntity('User', $userId); if (!$user) {