Commit f6910ea6 authored by Michael Long's avatar Michael Long
Browse files

fix error if you haven't setup your menus

parent 165c59c0
Pipeline #1289 passed with stage
in 9 minutes and 47 seconds
......@@ -29,7 +29,7 @@
</div>
<?xjs
if ((typeof menuobj.items !== "undefined") || (menuobj.items.length > 0)) {
if ((typeof menuobj.items !== "undefined") && (menuobj.items.length > 0)) {
var i = 0;
menuobj.items.some(function (menuitem) {
if (menuitem.type != "xtrnprog") {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment