From 6fe9c35d4718b9417a645c71cb0aa3756fea814e Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 25 Oct 2011 10:04:39 +0000 Subject: [PATCH] Fixed PHP Warning in config Management git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@21012 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/newConfigManagement/class_ConfigManagement.inc | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.30.2