Code

A better solution for the last checkin
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 Apr 2006 10:47:09 +0000 (10:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 25 Apr 2006 10:47:09 +0000 (10:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3107 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_printGeneric.inc

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