From: hickert Date: Mon, 25 Jun 2007 06:56:05 +0000 (+0000) Subject: Fixed problem with not clickable buttons in fai package error msgs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3f42f6ce563be01882604ffe13e2d31479fb5b97;p=gosa.git Fixed problem with not clickable buttons in fai package error msgs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6671 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiPackage.inc b/plugins/admin/fai/class_faiPackage.inc index 5b9da7159..e607b6016 100644 --- a/plugins/admin/fai/class_faiPackage.inc +++ b/plugins/admin/fai/class_faiPackage.inc @@ -258,7 +258,7 @@ class faiPackage extends plugin } /* Configuration dialog open*/ - if((isset($_POST['Conpkg']))&&(isset($_POST['usedPackages']))&&(!empty($_POST['usedPackages'])) && $this->acl_is_writeable("FAIdebconfInfo")){ + if((isset($_POST['Conpkg']))&&(isset($_POST['usedPackages']))&&(!empty($_POST['usedPackages'][0])) && $this->acl_is_writeable("FAIdebconfInfo")){ $path = CONFIG_DIR."/fai/".$this->FAIdebianRelease."/debconf.d"; $pkg_config = array(); $pkg = $_POST['usedPackages'][0]; diff --git a/plugins/admin/fai/faiPackage.tpl b/plugins/admin/fai/faiPackage.tpl index 4986d856a..56b8a7df6 100644 --- a/plugins/admin/fai/faiPackage.tpl +++ b/plugins/admin/fai/faiPackage.tpl @@ -72,6 +72,7 @@

{render acl=$FAIpackageACL}