From e8d81e16dc3252cb268c3013940b849c0ecf9340 Mon Sep 17 00:00:00 2001
From: Peter Rotich <peter@osticket.com>
Date: Wed, 11 Nov 2015 20:22:47 +0000
Subject: [PATCH] bug: Agents Signature & Timezone dropped on update

---
 include/class.staff.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/class.staff.php b/include/class.staff.php
index f0173d360..cbbc5200f 100644
--- a/include/class.staff.php
+++ b/include/class.staff.php
@@ -983,7 +983,6 @@ implements AuthenticatedUser, EmailContact, TemplateVariable {
         $this->onvacation = isset($vars['onvacation'])?1:0;
         $this->assigned_only = isset($vars['assigned_only'])?1:0;
         $this->role_id = $vars['role_id'];
-        $this->timezone = $vars['timezone'];
         $this->username = $vars['username'];
         $this->firstname = $vars['firstname'];
         $this->lastname = $vars['lastname'];
@@ -992,7 +991,6 @@ implements AuthenticatedUser, EmailContact, TemplateVariable {
         $this->phone = Format::phone($vars['phone']);
         $this->phone_ext = $vars['phone_ext'];
         $this->mobile = Format::phone($vars['mobile']);
-        $this->signature = Format::sanitize($vars['signature']);
         $this->notes = Format::sanitize($vars['notes']);
 
         if ($errors)
-- 
GitLab