1
0
mirror of https://github.com/limosek/zaf.git synced 2024-11-21 18:09:06 +01:00

Missed vatiable emptying on item create

This commit is contained in:
Lukas Macura 2016-04-24 05:31:51 +02:00
parent 276aef1689
commit 7af97e2a13

View File

@ -215,6 +215,8 @@ zaf_ctrl_generate_cfg() {
done <$tmpfile done <$tmpfile
else else
ikey="$2.$i" ikey="$2.$i"
zafparams=""
args=""
fi 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; " 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") lock=$(zaf_ctrl_get_item_option $1 $i "Lock")