From: hickert Date: Tue, 25 Oct 2011 10:04:39 +0000 (+0000) Subject: Fixed PHP Warning in config Management X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6fe9c35d4718b9417a645c71cb0aa3756fea814e;p=gosa.git Fixed PHP Warning in config Management git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@21012 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagement.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagement.inc index 9923548d6..a2b5f2a3d 100644 --- a/gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagement.inc +++ b/gosa-plugins/goto-ng/admin/newConfigManagement/class_ConfigManagement.inc @@ -65,6 +65,10 @@ class ConfigManagement extends plugin // Load some base install parameters $res = $rpc->getSupportedBaseInstallMethods(); + if(!$rpc->success()){ + $this->errorMessage = $rpc->get_error();; + return(FALSE); + } $baseInstTypes = $installationTypes = $installationMethods = array(); foreach($res as $type => $data){ $baseInstTypes[$type] = $type;