From 20d4e1fbabc5090bb47bbc1e9e5281d262cdc5ec Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 25 Jun 2007 06:54:35 +0000 Subject: [PATCH] Fixed problem with not clickable error msg button git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6670 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiPackage.inc | 3 ++- plugins/admin/fai/faiPackage.tpl | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/admin/fai/class_faiPackage.inc b/plugins/admin/fai/class_faiPackage.inc index 7e172ce1c..32a26f91b 100644 --- a/plugins/admin/fai/class_faiPackage.inc +++ b/plugins/admin/fai/class_faiPackage.inc @@ -261,7 +261,8 @@ class faiPackage extends plugin } /* Configuration dialog open*/ - if((isset($_POST['Conpkg']))&&(isset($_POST['usedPackages']))&&(!empty($_POST['usedPackages']))){ + if((isset($_POST['Conpkg']))&&(isset($_POST['usedPackages']))&&(!empty($_POST['usedPackages'][0]))){ + $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 388c1e848..22ff23032 100644 --- a/plugins/admin/fai/faiPackage.tpl +++ b/plugins/admin/fai/faiPackage.tpl @@ -66,6 +66,7 @@

-- 2.30.2