From 0bd89067f8f4c4d6d45b5258fe037ce8c7d64887 Mon Sep 17 00:00:00 2001 From: OliiverHacker Date: Mon, 29 Mar 2021 18:40:32 +0200 Subject: [PATCH] =?UTF-8?q?=C3=9Cberlappen=20Problem=20gefixed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/zeitaufzeichnung.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/zeitaufzeichnung.class.php b/include/zeitaufzeichnung.class.php index e587ef57c..43c5c4a5c 100644 --- a/include/zeitaufzeichnung.class.php +++ b/include/zeitaufzeichnung.class.php @@ -174,7 +174,7 @@ class zeitaufzeichnung extends basis_db } if ($this->aktivitaet_kurzbz != 'Ersatzruhe' && $this->aktivitaet_kurzbz != 'DienstreiseMT') { - $check_qry = "SELECT count(*) from campus.tbl_zeitaufzeichnung where uid=".$this->db_add_param($this->uid)." and aktivitaet_kurzbz != 'DienstreiseMT' and (start < ".$this->db_add_param($this->ende)." or ende > ".$this->db_add_param($this->start).")"; + $check_qry = "SELECT count(*) from campus.tbl_zeitaufzeichnung where uid=".$this->db_add_param($this->uid)." and aktivitaet_kurzbz != 'DienstreiseMT' and (start < ".$this->db_add_param($this->ende)." and ende > ".$this->db_add_param($this->start).")"; if($this->db_query($check_qry)) { if($row = $this->db_fetch_object())