diff --git a/core/js/js.js b/core/js/js.js index c7a06b85e5..0a83f1104a 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1723,7 +1723,7 @@ function formatDate(timestamp){ */ function getURLParameter(name) { return decodeURI( - (RegExp(name + '=' + '(.+?)(&|$)').exec(location.search) || [, null])[1] + (RegExp(name + '=' + '(.+?)(&|$)').exec(location.search) || [, ''])[1] ); }