diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-29 11:40:00 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-29 11:40:00 +0000 |
commit | d2406ba40759046ec4bec5d1bfe4e14ab5054e23 (patch) | |
tree | 362113c1477ec44d2eed5a401c5f0f17753c34f5 /engine/lib | |
parent | 151f0a7d26de7bcd8d1ff0050df60e1d483de0a2 (diff) | |
download | elgg-d2406ba40759046ec4bec5d1bfe4e14ab5054e23.tar.gz elgg-d2406ba40759046ec4bec5d1bfe4e14ab5054e23.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* BUGFIX: Missing name
git-svn-id: https://code.elgg.org/elgg/trunk@552 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r-- | engine/lib/extender.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/extender.php b/engine/lib/extender.php index e1d42efd6..49db9702a 100644 --- a/engine/lib/extender.php +++ b/engine/lib/extender.php @@ -115,7 +115,7 @@ $type = $this->attributes['type']; $uuid = guid_to_uuid($this->entity_guid). $type . "/{$this->id}/"; - $meta = new ODDMetadata($uuid, guid_to_uuid($this->entity_guid), $this->attributes[$name], $this->attributes['value'], $type, guid_to_uuid($this->owner_guid)); + $meta = new ODDMetadata($uuid, guid_to_uuid($this->entity_guid), $this->attributes['name'], $this->attributes['value'], $type, guid_to_uuid($this->owner_guid)); $meta->setAttribute('published', date("r", $this->time_created)); return $meta; @@ -250,7 +250,7 @@ // Save if (!$entity->save()) - throw new ImportException("There was a problem updating entity '$entity_uuid'"); + throw new ImportException("There was a problem updating '$attr_name' on entity '$entity_uuid'"); return true; } |