Fix write "NULL" on null text value

This commit is contained in:
l839165
2017-08-25 23:30:05 +02:00
parent 09b317bae9
commit 57a3a5dcad

View File

@@ -285,6 +285,7 @@ function get_response(data) {
else {
keypress = "";
};
if (!data.items[x].value) data.items[x].value = "";
itemlist[data.items[x].category].push(replace_list(html.config.text, {
"item_color": data.items[x].color,
"item_label": data.items[x].label,