From 0f8a4850fa7651e466def4f0e803a8817e841159 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Tue, 24 Mar 2015 16:19:50 -0500
Subject: [PATCH] oops: Fix unsetting of force pw-change flag

---
 include/class.staff.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class.staff.php b/include/class.staff.php
index 6a7c06a26..cc75aa003 100644
--- a/include/class.staff.php
+++ b/include/class.staff.php
@@ -147,7 +147,7 @@ implements AuthenticatedUser, EmailContact {
 
     function forcePasswdRest() {
         $this->change_passwd = 1;
-        return $this->update();
+        return $this->save();
     }
 
     /* check if passwd reset is due. */
-- 
GitLab