From 7af97e2a13043188b32c5d7cd7c78f13c9709be1 Mon Sep 17 00:00:00 2001 From: Lukas Macura Date: Sun, 24 Apr 2016 05:31:51 +0200 Subject: [PATCH] Missed vatiable emptying on item create --- lib/ctrl.lib.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ctrl.lib.sh b/lib/ctrl.lib.sh index 0604ab9..e65d508 100644 --- a/lib/ctrl.lib.sh +++ b/lib/ctrl.lib.sh @@ -215,6 +215,8 @@ zaf_ctrl_generate_cfg() { done <$tmpfile else ikey="$2.$i" + zafparams="" + args="" fi env="export ITEM_KEY='$ikey'; export PATH=${ZAF_PLUGINS_DIR}/$2:$ZAF_LIB_DIR:\$PATH; cd ${ZAF_PLUGINS_DIR}/$2; . $ZAF_LIB_DIR/preload.sh; " lock=$(zaf_ctrl_get_item_option $1 $i "Lock")