aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/metadata.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/metadata.php')
-rw-r--r--engine/lib/metadata.php4
1 files changed, 2 insertions, 2 deletions
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'];