diff --git a/web/skins/classic/js/skin.js b/web/skins/classic/js/skin.js index bdeeb6a63..78399280e 100644 --- a/web/skins/classic/js/skin.js +++ b/web/skins/classic/js/skin.js @@ -426,6 +426,10 @@ if ( currentView != 'none' && currentView != 'login' ) { } function setNavBar(data) { + if ( !data ) { + console.error("No data in setNavBar"); + return; + } if ( data.auth ) { if ( data.auth != auth_hash ) { // Update authentication token.