| @@ -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; | |||