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