diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-05-29 22:33:26 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-05-29 22:33:26 -0700 |
commit | 7969d6c4585b3c60c932b5c558617e77c509de58 (patch) | |
tree | 7b64f6b30f7c0b61d466ca6e94928264d4ca7c32 /modules/node | |
parent | cf1af7f7d7ece4844dad69a8fc84b5bd15a932f1 (diff) | |
download | brdo-7969d6c4585b3c60c932b5c558617e77c509de58.tar.gz brdo-7969d6c4585b3c60c932b5c558617e77c509de58.tar.bz2 |
Issue #1153022 by lyricnz, Pasqualle: Fixed PHP Notice: Undefined index: content in template_preprocess_node().
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.module | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 524a57fa7..2dd1926f1 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1455,6 +1455,7 @@ function template_preprocess_node(&$variables) { $variables = array_merge((array) $node, $variables); // Helpful $content variable for templates. + $variables['content'] = array(); foreach (element_children($variables['elements']) as $key) { $variables['content'][$key] = $variables['elements'][$key]; } |