aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 2ba68800d..e0b2774a3 100644
--- a/index.php
+++ b/index.php
@@ -35,8 +35,8 @@
// Create / load a site
$site = get_site(1);
error_log("GETTIGN SITE " . print_r($site, true));
-
- if (!$site)
+
+ if (empty($site))
{
$site = new ElggSite();