Code

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

gosa-core/include/class_userinfo.inc

index c1c49ac40ddbb516ffd1e4960795dfe68ff8d0a4..517ca272dbf01ee832a0877cdf991b573ee10f0e 100644 (file)
@@ -365,7 +365,7 @@ class userinfo
 
     /* Check for correct category and class values... */
     if(strpos($object,'/') !== FALSE){
-      list($aclCategory, $aclClass) = split("/", $object);
+      list($aclCategory, $aclClass) = preg_split("!/!", $object);
     }else{
       $aclCategory = $object;
     }