aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/annotations.php4
-rw-r--r--engine/lib/metadata.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php
index 1e974cc71..93727a283 100644
--- a/engine/lib/annotations.php
+++ b/engine/lib/annotations.php
@@ -160,7 +160,7 @@
$entity_guid = (int)$entity_guid;
$name = sanitise_string(trim($name));
$value = sanitise_string(trim($value));
- $value_type = detect_annotation_valuetype($value, sanitise_string(trim($value_type)));
+ $value_type = detect_extender_valuetype($value, sanitise_string(trim($value_type)));
$owner_guid = (int)$owner_guid;
if ($owner_guid==0) $owner_guid = $_SESSION['id'];
@@ -197,7 +197,7 @@
$annotation_id = (int)$annotation_id;
$name = sanitise_string(trim($name));
$value = sanitise_string(trim($value));
- $value_type = detect_annotation_valuetype($value, sanitise_string(trim($value_type)));
+ $value_type = detect_extender_valuetype($value, sanitise_string(trim($value_type)));
$owner_guid = (int)$owner_guid;
if ($owner_guid==0) $owner_guid = $_SESSION['id'];
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php
index 727d68f41..5ed435a0c 100644
--- a/engine/lib/metadata.php
+++ b/engine/lib/metadata.php
@@ -157,7 +157,7 @@
$entity_guid = (int)$entity_guid;
$name = sanitise_string(trim($name));
$value = sanitise_string(trim($value));
- $value_type = detect_metadata_valuetype($value, sanitise_string(trim($value_type)));
+ $value_type = detect_extender_valuetype($value, sanitise_string(trim($value_type)));
$time = time();
$owner_guid = (int)$owner_guid;
$allow_multiple = (boolean)$allow_multiple;
@@ -209,7 +209,7 @@
$id = (int)$id;
$name = sanitise_string(trim($name));
$value = sanitise_string(trim($value));
- $value_type = detect_metadata_valuetype($value, sanitise_string(trim($value_type)));
+ $value_type = detect_extender_valuetype($value, sanitise_string(trim($value_type)));
$owner_guid = (int)$owner_guid;
if ($owner_guid==0) $owner_guid = $_SESSION['id'];