aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/assets/javascript/core.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js
index 22987456ab..b060f6abf0 100644
--- a/phpBB/assets/javascript/core.js
+++ b/phpBB/assets/javascript/core.js
@@ -187,15 +187,15 @@ phpbb.confirm = function(msg, callback, fadedark) {
* @returns array The array created.
*/
phpbb.parse_querystring = function(string) {
- var end = {}, i, split;
+ var params = {}, i, split;
string = string.split('&');
for (i = 0; i < string.length; i++)
{
split = string[i].split('=');
- end[split[0]] = decodeURIComponent(split[1]);
+ params[split[0]] = decodeURIComponent(split[1]);
}
- return end;
+ return params;
}