mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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:
parent
dbccb57abb
commit
7f33897154
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue