Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
bda84648
Commit
bda84648
authored
Oct 31, 2006
by
drumm
Browse files
#24023
by vhmauery. Properly handle object option flattening.
parent
def059a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/form.inc
View file @
bda84648
...
...
@@ -843,7 +843,10 @@ function form_options_flatten($array, $reset = TRUE) {
}
foreach
(
$array
as
$key
=>
$value
)
{
if
(
is_array
(
$value
))
{
if
(
is_object
(
$value
))
{
form_options_flatten
(
$value
->
option
,
FALSE
);
}
else
if
(
is_array
(
$value
))
{
form_options_flatten
(
$value
,
FALSE
);
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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