From 736358b8d5c974005bc14e633c8c6f1bdfb257ab Mon Sep 17 00:00:00 2001 From: patrick Date: Thu, 1 Aug 2019 18:16:58 +1000 Subject: [PATCH] remove test staff for all real staff --- UserJob.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UserJob.php b/UserJob.php index 06bf13e..836e805 100644 --- a/UserJob.php +++ b/UserJob.php @@ -67,8 +67,8 @@ class UserJob{ 'job_count' => 0. ); $sql = "SELECT * FROM $this->table_name WHERE start>='%s' and start <='%s' and client='%s' order by start ASC"; - //$query = $this->db->prepare ($sql, array($start, $finish, $this->user->user_login)); - $query = $this->db->prepare ($sql, array($start, $finish, "593d3253-07d0-40a7-8b8e-1a5df05a56db")); + $query = $this->db->prepare ($sql, array($start, $finish, $this->user->user_login)); + //$query = $this->db->prepare ($sql, array($start, $finish, "593d3253-07d0-40a7-8b8e-1a5df05a56db")); $jobs = $this->db->get_results($query); $response['job_count'] = count($jobs); //$response['sql'] = $query;