From a0f22f3d0bbc1fdee3ab040af6e1c8357b78dc4e Mon Sep 17 00:00:00 2001 From: Manfred Kindl Date: Tue, 9 Oct 2012 07:35:41 +0000 Subject: [PATCH] =?UTF-8?q?Spalte=20mit=20dem=20Content-Titel=20eingef?= =?UTF-8?q?=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/infoscreen.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/infoscreen.class.php b/include/infoscreen.class.php index a92bcde3b..b61682dab 100755 --- a/include/infoscreen.class.php +++ b/include/infoscreen.class.php @@ -350,8 +350,11 @@ class infoscreen extends basis_db * FROM campus.tbl_infoscreen_content + JOIN + campus.tbl_contentsprache USING (content_id) WHERE - (infoscreen_id=".$this->db_add_param($infoscreen_id, FHC_INTEGER)." OR infoscreen_id is null)"; + (infoscreen_id=".$this->db_add_param($infoscreen_id, FHC_INTEGER)." OR infoscreen_id is null) + AND tbl_contentsprache.sprache='German'"; if($aktuell) $qry.=" AND (gueltigvon<=now() OR gueltigvon is null) @@ -373,6 +376,7 @@ class infoscreen extends basis_db $obj->insertvon = $row->insertvon; $obj->updateamum = $row->updateamum; $obj->updatevon = $row->updatevon; + $obj->titel = $row->titel; $this->result[] = $obj; }