mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
[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:
committed by
Igor Wiedler
parent
dbccb57abb
commit
7f33897154
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user