Code

Objectclass violation fixed
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Oct 2005 09:24:47 +0000 (09:24 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 18 Oct 2005 09:24:47 +0000 (09:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1603 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_workstationStartup.inc

index e6b46ca26e9efb2d8ec0205cd0d43e8555a716ff..c4ca71b12f149b18f477d175f45a8e9ecfeac48a 100644 (file)
@@ -423,7 +423,7 @@ class workstartup extends plugin
     $this->attrs['FAIclass'] = $tmp;
     /* Write back to ldap */
    
-    if(count($this->attrs['FAIclass'])==0){
+    if((count($this->attrs['FAIclass'])==0)&&(empty($this->FAIdebianMirror))){
       $tmp = array();
       foreach($this->attrs['objectClass'] as $class){
         if($class != "FAIobject"){