Code

Fixed printer type detection
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 Apr 2006 10:42:01 +0000 (10:42 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 Apr 2006 10:42:01 +0000 (10:42 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3106 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_printGeneric.inc

index 965ee2e39ddac6f35317037191e77826cdc4a154..1a216b0bc6da4cd2b7254ecc74777e428d09e7c1 100644 (file)
@@ -165,7 +165,7 @@ class printgeneric extends plugin
       }else{
         $this->BelongsTo = "Terminal";
       }
-    }elseif(isset($this->parent->by_object['printgeneric'])){
+    }else{
       $this->BelongsTo  = "Printer";
     }