aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggRelationship.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-31 00:33:58 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-31 00:33:58 +0000
commit7c8bad89d27b18668622db2a36752653d3f3789c (patch)
tree2732b6296a84cb086f7551e3bf7c205daef8312d /engine/classes/ElggRelationship.php
parentd428c6179cb91fa6c6a6ca739081dfbf79a418b0 (diff)
downloadelgg-7c8bad89d27b18668622db2a36752653d3f3789c.tar.gz
elgg-7c8bad89d27b18668622db2a36752653d3f3789c.tar.bz2
Improved initializeAttributes implementations
git-svn-id: http://code.elgg.org/elgg/trunk@7159 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes/ElggRelationship.php')
-rw-r--r--engine/classes/ElggRelationship.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggRelationship.php b/engine/classes/ElggRelationship.php
index 4dcdb6297..c14319d35 100644
--- a/engine/classes/ElggRelationship.php
+++ b/engine/classes/ElggRelationship.php
@@ -16,7 +16,7 @@ class ElggRelationship extends ElggData implements
* @param mixed $id ElggRelationship id
*/
function __construct($id = null) {
- $this->attributes = array();
+ $this->initializeAttributes();
if (!empty($id)) {
if ($id instanceof stdClass) {