diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index c7a06b85e53..0a83f1104aa 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] ); } |