diff options
Diffstat (limited to 'config/haproxy-devel')
-rw-r--r-- | config/haproxy-devel/haproxy_htmllist.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy-devel/haproxy_htmllist.inc b/config/haproxy-devel/haproxy_htmllist.inc index effc6ae8..404e9fab 100644 --- a/config/haproxy-devel/haproxy_htmllist.inc +++ b/config/haproxy-devel/haproxy_htmllist.inc @@ -225,7 +225,7 @@ function haproxy_htmllist_js(){ var items; var i = tableId.lastIndexOf('_'); var items_name = prefix+"_"+tableId.substr(i+1); - items = eval(items_name); + items = eval("typeof "+items_name+" !== 'undefined' ? "+items_name+" : {}"); return items; } |