From 2ddefb2e75098f47f82a3f91d90fa450bd43258a Mon Sep 17 00:00:00 2001 From: oesi Date: Thu, 28 May 2015 16:02:08 +0200 Subject: [PATCH] Fixed Broken JOIN --- include/projekt.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/projekt.class.php b/include/projekt.class.php index 322b32966..0e19ce47e 100755 --- a/include/projekt.class.php +++ b/include/projekt.class.php @@ -369,7 +369,7 @@ class projekt extends basis_db fue.tbl_projektphase JOIN fue.tbl_projekt USING (projekt_kurzbz) JOIN fue.tbl_projekt_ressource USING (projektphase_id) - JOIN fue.tbl_ressource USING (ressource_id) + JOIN fue.tbl_ressource ON (tbl_ressource.ressource_id=tbl_projekt_ressource.ressource_id) WHERE (tbl_projekt.beginn<=now() or tbl_projekt.beginn is null) AND (tbl_projekt.ende>=now() OR tbl_projekt.ende is null) AND mitarbeiter_uid=".$this->db_add_param($mitarbeiter_uid);