Code

Removed split
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sun, 2 May 2010 17:23:30 +0000 (17:23 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Sun, 2 May 2010 17:23:30 +0000 (17:23 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18016 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc

index a8779a2971b52fa46611000f0a924ff6e446a2ca..963f2618b78341074c8d3e82522cd07ee444f415 100644 (file)
@@ -140,7 +140,7 @@ class servrepository extends goService
               continue;
             }
             for ($i= 0; $i < $sattrs['FAIrepository']['count']; $i++){
-              $t= split('\|', $sattrs['FAIrepository'][$i]);
+              $t= preg_split('/\|/', $sattrs['FAIrepository'][$i]);
               if($release == $t[2]){
                 $usage++;
               }