2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

zwave_neighborlist.js: fix crash when called from ZWawe (Forum #102244)

git-svn-id: https://svn.fhem.de/fhem/trunk@19826 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-07-14 09:51:37 +00:00
parent 9ecb1d1c32
commit 2adc0cb6ec

View File

@ -182,7 +182,7 @@ function
zw_drawline(ld, h, o, i1)
{
var n = h[o].neighbors[i1];
var ns = h[o].neighborstyles[i1];
var ns = (h[o].neighborstyles ? h[o].neighborstyles[i1] : "")
if(!h[o] || !h[n])
return "";
var bidi = false;