[ticket/10270] Renamed a variable in phpbb.parse_querystring.

It was originally "end", but was renamed to "params" to be more
descriptive.

PHPBB3-10270
This commit is contained in:
Callum Macrae 2011-10-22 16:13:27 +01:00 committed by Igor Wiedler
parent dbccb57abb
commit 7f33897154

View file

@ -187,15 +187,15 @@ phpbb.confirm = function(msg, callback, fadedark) {
* @returns array The array created. * @returns array The array created.
*/ */
phpbb.parse_querystring = function(string) { phpbb.parse_querystring = function(string) {
var end = {}, i, split; var params = {}, i, split;
string = string.split('&'); string = string.split('&');
for (i = 0; i < string.length; i++) for (i = 0; i < string.length; i++)
{ {
split = string[i].split('='); split = string[i].split('=');
end[split[0]] = decodeURIComponent(split[1]); params[split[0]] = decodeURIComponent(split[1]);
} }
return end; return params;
} }