Code

Ensure that all used indexes are set
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Oct 2007 09:39:55 +0000 (09:39 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Oct 2007 09:39:55 +0000 (09:39 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7507 594d385d-05f5-0310-b6e9-bd551577e9d8

include/accept-to-gettext.inc

index 289cae435a9b8243142d4ceb6d0de43aa1cb7a6d..abf6b60c1c64b8f3a3bc779de7229101f9bafc17 100644 (file)
@@ -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]),