From d2406ba40759046ec4bec5d1bfe4e14ab5054e23 Mon Sep 17 00:00:00 2001 From: icewing Date: Tue, 29 Apr 2008 11:40:00 +0000 Subject: Marcus Povey * BUGFIX: Missing name git-svn-id: https://code.elgg.org/elgg/trunk@552 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/extender.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/lib') 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; } -- cgit v1.2.3