aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-14 16:37:39 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-14 16:37:39 +0000
commitcf860946249b508fd4e811b233ed618b3d21c8e7 (patch)
treec3cdcbfde831c69b99daa9391e104e53bc0de10b /engine
parent0a7fcebbc48f5898953907b230e8dec5f4f25e3b (diff)
downloadelgg-cf860946249b508fd4e811b233ed618b3d21c8e7.tar.gz
elgg-cf860946249b508fd4e811b233ed618b3d21c8e7.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Get annotations git-svn-id: https://code.elgg.org/elgg/trunk@228 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/annotations.php2
-rw-r--r--engine/lib/entities.php2
2 files changed, 2 insertions, 2 deletions
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);
}
/**