Code

Updated Device handling
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 9 May 2011 06:51:43 +0000 (06:51 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 9 May 2011 06:51:43 +0000 (06:51 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20788 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc

index bdedfdc30878033c88998e54e36cf6b705e904a2..2c09fc177c60db7bd24e3bb80b9aba9072846363 100644 (file)
@@ -76,6 +76,8 @@ class InstallRecipe extends plugin
     {
         plugin::plugin($config, $dn);
 
+        $this->is_account = $this->initially_was_account = FALSE;
+
         $this->_device = &$parent;
         $this->deviceUUID = $parent->deviceUUID;
 
@@ -167,6 +169,7 @@ class InstallRecipe extends plugin
         $this->rpcError = !$rpc->success();
         if(!$rpc->success()){
             $this->rpcErrorMessage = $rpc->get_error();
+            msg_dialog::display(_("Error"), msgPool::rpcError($this->rpcErrorMessage), ERROR_DIALOG);
             return(NULL);
         }