diff options
author | jim-p <jimp@pfsense.org> | 2014-09-15 14:34:52 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-09-15 14:34:52 -0400 |
commit | abca7eb25313022157e372fd783c18a9c7643010 (patch) | |
tree | aca7be9a6104586397378121da6c3125483eab72 | |
parent | f0ea892e2457bb6a037690cc5a7b28a02f2b5728 (diff) | |
parent | a1e834a922ff74bc4e9e515873c8960509fb695d (diff) | |
download | pfsense-packages-abca7eb25313022157e372fd783c18a9c7643010.tar.gz pfsense-packages-abca7eb25313022157e372fd783c18a9c7643010.tar.bz2 pfsense-packages-abca7eb25313022157e372fd783c18a9c7643010.zip |
Merge pull request #700 from PiBa-NL/haproxy_1.5.3
-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; } |