Commit 9b47a147 authored by Dries's avatar Dries

- Patch #44993 by markus, jaza, dopry et al: blank page when menu callbacks generate empty pages.

parent c0463336
......@@ -24,7 +24,8 @@
drupal_site_offline();
break;
default:
if (!empty($return)) {
// Print any value (including an empty string) except NULL or undefined:
if (isset($return)) {
print theme('page', $return);
}
break;
......
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