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
db427455
Commit
db427455
authored
Dec 17, 2005
by
Steven Wittens
Browse files
- Code style
parent
d5581d94
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
db427455
...
...
@@ -55,13 +55,13 @@ function drupal_get_content($region = NULL, $delimiter = ' ') {
$content
=
drupal_set_content
();
if
(
isset
(
$region
))
{
if
(
isset
(
$content
[
$region
])
&&
is_array
(
$content
[
$region
]))
{
return
implode
(
$delimiter
,
$content
[
$region
]);
return
implode
(
$delimiter
,
$content
[
$region
]);
}
}
else
{
foreach
(
array_keys
(
$content
)
as
$region
)
{
if
(
is_array
(
$content
[
$region
]))
{
$content
[
$region
]
=
implode
(
$delimiter
,
$content
[
$region
]);
$content
[
$region
]
=
implode
(
$delimiter
,
$content
[
$region
]);
}
}
return
$content
;
...
...
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