summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index df07fff67..e38404e61 100644
--- a/index.php
+++ b/index.php
@@ -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;