diff options
Diffstat (limited to 'help3xsl/help.js')
-rw-r--r-- | help3xsl/help.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/help3xsl/help.js b/help3xsl/help.js index 1e92f6ef99..75541e6745 100644 --- a/help3xsl/help.js +++ b/help3xsl/help.js @@ -17,7 +17,11 @@ var currentModule = null; if(url.indexOf('explorer/database/') !== -1) { currentModule = 'BASE'; } else { - currentModule = regexArray[1].toUpperCase().substring(1); + if (null === regexArray){// comes from search or elsewhere, no defined module in URL + currentModule = 'HARED' + }else{ + currentModule = regexArray[1].toUpperCase().substring(1); + } } var results = null; var fullLinkified = ''; |