From 7f5e10b8b093a72be3d7b3f37a3b6db16c5616cc Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 11 Oct 2007 09:37:10 +0000 Subject: [PATCH] Ensure that all used indexes are set git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7506 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/accept-to-gettext.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/accept-to-gettext.inc b/include/accept-to-gettext.inc index 289cae435..005f3e746 100644 --- a/include/accept-to-gettext.inc +++ b/include/accept-to-gettext.inc @@ -165,6 +165,9 @@ function al2gt($gettextlangs, $mime) $alscores[$noct[0]] = ""; } + if(!isset($alscores[$gtcs])){ + $alscores[$gtcs] = ""; + } $testvals=array( array($alscores[$allang], $acscores[$gtcs]), array($alscores[$noct[0]], $acscores[$gtcs]), -- 2.30.2