Commit db427455 authored by Steven Wittens's avatar Steven Wittens
Browse files

- Code style

parent d5581d94
...@@ -55,13 +55,13 @@ function drupal_get_content($region = NULL, $delimiter = ' ') { ...@@ -55,13 +55,13 @@ function drupal_get_content($region = NULL, $delimiter = ' ') {
$content = drupal_set_content(); $content = drupal_set_content();
if (isset($region)) { if (isset($region)) {
if (isset($content[$region]) && is_array($content[$region])) { if (isset($content[$region]) && is_array($content[$region])) {
return implode ($delimiter, $content[$region]); return implode($delimiter, $content[$region]);
} }
} }
else { else {
foreach (array_keys($content) as $region) { foreach (array_keys($content) as $region) {
if (is_array($content[$region])) { if (is_array($content[$region])) {
$content[$region] = implode ($delimiter, $content[$region]); $content[$region] = implode($delimiter, $content[$region]);
} }
} }
return $content; return $content;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment