From 01c8edf795dbf0a7ea947e7f0676448bdf8ed578 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 23 May 2008 13:39:25 +0000 Subject: Removing double sanitise_string on save metadata git-svn-id: https://code.elgg.org/elgg/trunk@698 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/metadata.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php index ab2d748ac..50edd903b 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -221,8 +221,8 @@ global $CONFIG; $id = (int)$id; - $name = sanitise_string(trim($name)); - $value = sanitise_string(trim($value)); + //$name = sanitise_string(trim($name)); + //$value = sanitise_string(trim($value)); $value_type = detect_extender_valuetype($value, sanitise_string(trim($value_type))); $owner_guid = (int)$owner_guid; -- cgit v1.2.3