From 20993b006abd2fefc3d81a7183fe6a8685ad59f5 Mon Sep 17 00:00:00 2001 From: Gerald Raab Date: Fri, 24 Aug 2018 11:46:09 +0200 Subject: [PATCH] bool check, ob addon-tabelle existiert --- 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 858a5a0c5..bf90bea4b 100755 --- a/include/zeitaufzeichnung.class.php +++ b/include/zeitaufzeichnung.class.php @@ -763,7 +763,7 @@ or not exists "; $res = $this->db_query($qrytable); - if ($this->db_fetch_row($res)[0]) + if ($this->db_fetch_row($res)[0]===true) { //check if sent timesheets for the UID exist $where = "uid=".$this->db_add_param($user);