aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/assets
diff options
context:
space:
mode:
authorCallum Macrae <callum@lynxphp.com>2011-10-22 16:13:27 +0100
committerIgor Wiedler <igor@wiedler.ch>2012-03-31 02:09:19 +0200
commit7f338971542424a85242287758f752f4f873e7f3 (patch)
treede8f2bcfa91baaed95c77b35bbd39fa30c450677 /phpBB/assets
parentdbccb57abb89e82a67e4809744549f22ea55fef2 (diff)
downloadforums-7f338971542424a85242287758f752f4f873e7f3.tar
forums-7f338971542424a85242287758f752f4f873e7f3.tar.gz
forums-7f338971542424a85242287758f752f4f873e7f3.tar.bz2
forums-7f338971542424a85242287758f752f4f873e7f3.tar.xz
forums-7f338971542424a85242287758f752f4f873e7f3.zip
[ticket/10270] Renamed a variable in phpbb.parse_querystring.
It was originally "end", but was renamed to "params" to be more descriptive. PHPBB3-10270
Diffstat (limited to 'phpBB/assets')
-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;
}