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 +}