diff --git a/class.db.php b/class.db.php index 0664176..6faf815 100644 --- a/class.db.php +++ b/class.db.php @@ -300,6 +300,7 @@ if (!class_exists('PWSdb')) $sth = $this->prepare('UPDATE passwords SET password = ?, modifiedby = ?, modifiedat = datetime(\'now\') WHERE id = ?'); $params = array($this->encryptPassword($newPassword), $username, $passwordId); } + $sth->execute(); } function updatePasswordAccess($passwordId)