Code

See last commit
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Oct 2007 09:40:28 +0000 (09:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 11 Oct 2007 09:40:28 +0000 (09:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7508 594d385d-05f5-0310-b6e9-bd551577e9d8

include/accept-to-gettext.inc

index 005f3e74635a35dab8888d5c2ba5c9c400251d4c..044f932ea39c33e0570f57118ce7a73898458184 100644 (file)
@@ -165,8 +165,8 @@ function al2gt($gettextlangs, $mime)
       $alscores[$noct[0]] = "";
     }
   
-    if(!isset($alscores[$gtcs])){
-      $alscores[$gtcs] = "";
+    if(!isset($acscores[$gtcs])){
+      $acscores[$gtcs] = "";
     }
     $testvals=array(
         array($alscores[$allang], $acscores[$gtcs]),