From cf860946249b508fd4e811b233ed618b3d21c8e7 Mon Sep 17 00:00:00 2001 From: icewing Date: Fri, 14 Mar 2008 16:37:39 +0000 Subject: Marcus Povey * Get annotations git-svn-id: https://code.elgg.org/elgg/trunk@228 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/annotations.php | 2 +- engine/lib/entities.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'engine') diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index 43fc1f171..5c1fb35bf 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -188,7 +188,7 @@ if (!$value) return false; // If ok then add it - return insert_data("INSERT into {$CONFIG->dbprefix}annotations (entity_guid, name, value, value_type, owner_id, time_created, access_id) VALUES ($entity_guid,'$name',$value,'$value_type', $owner_guid, $time, $access_id)"); + return insert_data("INSERT into {$CONFIG->dbprefix}annotations (entity_guid, name, value, value_type, owner_guid, time_created, access_id) VALUES ($entity_guid,'$name',$value,'$value_type', $owner_guid, $time, $access_id)"); } /** diff --git a/engine/lib/entities.php b/engine/lib/entities.php index cab9afae6..6956924cc 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -157,7 +157,7 @@ */ function getAnnotations($name, $limit = 50, $offset = 0) { - // TODO: WRITEME + get_annotations($this->getGUID(), "", "", $name, "", "", 0, $limit, $offset); } /** -- cgit v1.2.3