diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-20 10:09:20 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-20 10:09:20 +0000 |
commit | 04fb2f6fc8a49498a8de0600e5e9b4172b27b5f0 (patch) | |
tree | dbcb922c81962e2c960c1b1f0a101aeb0b987304 /engine/classes/ElggSite.php | |
parent | 2b0f287c514a4e77365455212a43a77b608bd6c2 (diff) | |
download | elgg-04fb2f6fc8a49498a8de0600e5e9b4172b27b5f0.tar.gz elgg-04fb2f6fc8a49498a8de0600e5e9b4172b27b5f0.tar.bz2 |
Fixes #2490: attributes initialize to NULL instead of empty string or 0. Updated tests to reflect this
git-svn-id: http://code.elgg.org/elgg/trunk@7376 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes/ElggSite.php')
-rw-r--r-- | engine/classes/ElggSite.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/classes/ElggSite.php b/engine/classes/ElggSite.php index 70ad395fe..da239f1be 100644 --- a/engine/classes/ElggSite.php +++ b/engine/classes/ElggSite.php @@ -51,9 +51,9 @@ class ElggSite extends ElggEntity { parent::initializeAttributes(); $this->attributes['type'] = "site"; - $this->attributes['name'] = ""; - $this->attributes['description'] = ""; - $this->attributes['url'] = ""; + $this->attributes['name'] = NULL; + $this->attributes['description'] = NULL; + $this->attributes['url'] = NULL; $this->attributes['tables_split'] = 2; } |