Code

Fixed picture management
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Feb 2006 07:52:26 +0000 (07:52 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Feb 2006 07:52:26 +0000 (07:52 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2689 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_systemManagement.inc

index 59b8ffdc2c4ce7968e7235e28c164c072fff784a..7bcd1722593c32caa71dc009aea3e478f63e7e91 100644 (file)
@@ -1173,10 +1173,6 @@ class systems extends plugin
             $terminal['location'] = array_search($tmp, $this->config->departments);
             $terminal['message']  = _("Workstation template for");
           }
-        }elseif (in_array("GOhard",$value['objectClass'])){
-          $terminal = $value;
-          $terminal['type']   = "Q";
-          $terminal['is_new'] = $add;
         } elseif (in_array('gotoPrinter', $value["objectClass"])){
             $terminal             = $value;
             $terminal['type']     = "P";
@@ -1186,6 +1182,10 @@ class systems extends plugin
         } elseif (in_array('goFonHardware', $value["objectClass"])){
             $terminal             = $value;
             $terminal['type']     = "F";
+        }elseif (in_array("GOhard",$value['objectClass'])){
+          $terminal = $value;
+          $terminal['type']   = "Q";
+          $terminal['is_new'] = $add;
         } elseif (in_array('ieee802Device', $value["objectClass"])){
             $terminal             = $value;
             $terminal['type']     = "C";