Code

STATUS ! status
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 10:06:39 +0000 (10:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 10:06:39 +0000 (10:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9663 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc

index 4c6b13995e771512bf2646ef37978a2076e03c2d..a2469a6a66f5064806d64cc06148d5a9e3792af8 100644 (file)
@@ -79,7 +79,7 @@ class workgeneric extends plugin
       $e_types = DaemonEvent::get_event_types(USER_EVENT | SYSTEM_EVENT | HIDDEN_EVENT);
       $evts = $o->get_entries_by_mac(array($this->netConfigDNS->macAddress));
       foreach($evts as $evt){
-        if(isset($e_types['QUEUED'][$evt['HEADERTAG']]) && $evt['status'] == "processing" &&
+        if(isset($e_types['QUEUED'][$evt['HEADERTAG']]) && $evt['STATUS'] == "processing" &&
             $e_types['QUEUED'][$evt['HEADERTAG']] == "DaemonEvent_reinstall"){
           $this->currently_installing =TRUE;
         }