diff options
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc index 46d320d54..ea7b02a74 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -3252,8 +3252,8 @@ function drupal_get_page($content = NULL) { * @see drupal_get_page() */ function drupal_render_page($page) { - // Allow menu callbacks to return strings. - if (is_string($page)) { + // Allow menu callbacks to return strings, or bare content arrays. + if (is_string($page) || empty($page['content'])) { $page = drupal_get_page($page); } // Modules alter the $page as needed. Blocks are populated into regions like |