From 21d4ce237a887014403bd4f1fa574f4cb7a5a946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Thu, 3 Jul 2014 12:19:30 +0000 Subject: [PATCH] Fehlermeldung beim Auslesen der Sprachen behoben wenn nicht jede Sprache einen Index eingetragen hat --- include/sprache.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sprache.class.php b/include/sprache.class.php index bbc526092..7bbd5ba6c 100644 --- a/include/sprache.class.php +++ b/include/sprache.class.php @@ -121,7 +121,7 @@ class sprache extends basis_db */ public function loadIndexArray() { - $qry = "SELECT sprache, index FROM public.tbl_sprache ORDER BY index"; + $qry = "SELECT sprache, index FROM public.tbl_sprache WHERE index is not null ORDER BY index"; if(!$this->db_query($qry)) { @@ -267,4 +267,4 @@ class sprache extends basis_db } } } -} \ No newline at end of file +}