Switch some tabs to spaces
This commit is contained in:
@@ -37,15 +37,16 @@ function build_urlarg($vars)
|
|||||||
while(list($key, $val) = each($vars))
|
while(list($key, $val) = each($vars))
|
||||||
{
|
{
|
||||||
if(is_array($val))
|
if(is_array($val))
|
||||||
{
|
{
|
||||||
while(list($idx, $value) = each($val))
|
while(list($idx, $value) = each($val))
|
||||||
{
|
{
|
||||||
//echo "Encoding $key / $value<br>";
|
//echo "Encoding $key / $value<br>";
|
||||||
$arr[] = rawurlencode($key."[]")."=".rawurlencode($value);
|
$arr[] = rawurlencode($key."[]")."=".rawurlencode($value);
|
||||||
}
|
}
|
||||||
}
|
} else
|
||||||
else
|
{
|
||||||
$arr[] = $key."=".rawurlencode($val);
|
$arr[] = $key."=".rawurlencode($val);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return implode("&", $arr);
|
return implode("&", $arr);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user