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

4.7.x
Dries Buytaert 2006-01-27 18:51:51 +00:00
parent c046333610
commit 9b47a147f3
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@ switch ($return) {
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;