- Patch #44993 by markus, jaza, dopry et al: blank page when menu callbacks generate empty pages.
parent
c046333610
commit
9b47a147f3
|
|
@ -24,7 +24,8 @@ switch ($return) {
|
||||||
drupal_site_offline();
|
drupal_site_offline();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (!empty($return)) {
|
// Print any value (including an empty string) except NULL or undefined:
|
||||||
|
if (isset($return)) {
|
||||||
print theme('page', $return);
|
print theme('page', $return);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue