Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
027f9836
Commit
027f9836
authored
Apr 13, 2006
by
Steven Wittens
Browse files
#5371
tweaks (drupal_query_string_encode)
parent
8a0a50d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
027f9836
...
...
@@ -173,14 +173,12 @@ function drupal_query_string_encode($query, $exclude = array(), $parent = '') {
$params
=
array
();
foreach
(
$query
as
$key
=>
$value
)
{
$key
=
urlencode
(
$key
);
if
(
$parent
)
{
$key
=
$parent
.
'['
.
urlencode
(
$key
)
.
']'
;
}
else
{
$key
=
urlencode
(
$key
);
$key
=
$parent
.
'['
.
$key
.
']'
;
}
if
(
in_array
(
urldecode
(
$key
)
,
$exclude
))
{
if
(
in_array
(
$key
,
$exclude
))
{
continue
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment