Przeglądaj źródła

remove test staff for all real staff

master
patrick 6 lat temu
rodzic
commit
736358b8d5
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      UserJob.php

+ 2
- 2
UserJob.php Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz