aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-07 18:23:10 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-07 18:23:10 +0000
commit6bbeab62150bd2e3d4ee79018608be2dcc591d2c (patch)
tree838ba0cccbe8cbad516b4e55aac68c2dde3a8783 /index.php
parent9fa6b70a24617eeff1c01b8ea648b05dcde47708 (diff)
downloadelgg-6bbeab62150bd2e3d4ee79018608be2dcc591d2c.tar.gz
elgg-6bbeab62150bd2e3d4ee79018608be2dcc591d2c.tar.bz2
Users and friends
git-svn-id: https://code.elgg.org/elgg/trunk@108 36083f99-b078-4883-b0ff-0f9b5a30f544
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();