From 7e0fab66c83f992bbd14c59998456aeb5bbf4d7b Mon Sep 17 00:00:00 2001 From: oesi Date: Fri, 27 Nov 2015 07:33:51 +0100 Subject: [PATCH] =?UTF-8?q?Sprache=20load=20Funktion=20laedt=20nun=20zus?= =?UTF-8?q?=C3=A4tzlich=20die=20Mehrsprachige=20Bezeichnung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/sprache.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/sprache.class.php b/include/sprache.class.php index 7bbd5ba6c..e500725b6 100644 --- a/include/sprache.class.php +++ b/include/sprache.class.php @@ -56,7 +56,7 @@ class sprache extends basis_db */ public function load($sprache) { - $qry = "SELECT * FROM public.tbl_sprache WHERE sprache=".$this->db_add_param($sprache, FHC_STRING, false).";"; + $qry = "SELECT *,".$this->getSprachQuery('bezeichnung')." FROM public.tbl_sprache WHERE sprache=".$this->db_add_param($sprache, FHC_STRING, false).";"; if($this->db_query($qry)) { @@ -66,6 +66,7 @@ class sprache extends basis_db $this->locale = $row->locale; $this->index = $row->index; $this->content = $this->db_parse_bool($row->content); + $this->bezeichnung_arr=$this->parseSprachResult('bezeichnung',$row); return true; } else