Adapted date in bisverwendung.class.php

Adapted date in query.
This commit is contained in:
Cris
2018-10-18 08:38:32 +02:00
parent ebafc554fe
commit 1a011466ec
+2 -2
View File
@@ -387,8 +387,8 @@ class bisverwendung extends basis_db
bis.tbl_bisverwendung
WHERE
mitarbeiter_uid=".$this->db_add_param($uid)."
AND (beginn<=".$this->db_add_param($datum)." OR beginn is null)
AND (ende>=".$this->db_add_param($datum_obj->formatDatum($datum,'Y-m-01'))." OR ende is null)
AND (beginn<=".$this->db_add_param($datum_obj->formatDatum($datum,'Y-m-d'))." OR beginn is null)
AND (ende>=".$this->db_add_param($datum_obj->formatDatum($datum,'Y-m-d'))." OR ende is null)
ORDER BY ende desc;";
if($this->db_query($qry))