diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-15 11:20:32 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-15 11:20:32 +0000 |
commit | 19ebd1fc758ed58d97922001131a5c62f518aafe (patch) | |
tree | 7a654e54ece10b178b1ade200b0ba5bb03ce83b2 /engine/lib/metadata.php | |
parent | 348c98edf0bb1e630d4ba03f571461d1226ceea3 (diff) | |
download | elgg-19ebd1fc758ed58d97922001131a5c62f518aafe.tar.gz elgg-19ebd1fc758ed58d97922001131a5c62f518aafe.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* Using common detect_extender_valuetype function
git-svn-id: https://code.elgg.org/elgg/trunk@449 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/metadata.php')
-rw-r--r-- | engine/lib/metadata.php | 4 |
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']; |