From: hickert Date: Fri, 11 Apr 2008 15:03:26 +0000 (+0000) Subject: Added error message X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1719397114532f708b3d6e0b8739113e36a40b22;p=gosa.git Added error message git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10369 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiPackageConfiguration.inc b/gosa-plugins/fai/admin/fai/class_faiPackageConfiguration.inc index 8e25ce499..4e6ebf517 100644 --- a/gosa-plugins/fai/admin/fai/class_faiPackageConfiguration.inc +++ b/gosa-plugins/fai/admin/fai/class_faiPackageConfiguration.inc @@ -21,7 +21,10 @@ class faiPackageConfiguration extends plugin /* Read pkg debconf info */ $q = new gosaSupportDaemon(); - $ret = $q->FAI_get_packages($this->release,array("template"),array($this->obj)); + $ret = $q->FAI_get_packages($this->release,array("package","template"),array($this->obj)); + if($q->is_error()){ + msg_dialog::display(_("Service infrastructure"),msgPool::siError($q->get_error()),ERROR_DIALOG); + } $tpl = ""; if(isset($ret['ANSWER1']) && isset($ret['ANSWER1']['TEMPLATE'])){ $tpl = base64_decode($ret['ANSWER1']['TEMPLATE']);