aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
/**