diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-05-23 13:39:25 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-05-23 13:39:25 +0000 |
commit | 01c8edf795dbf0a7ea947e7f0676448bdf8ed578 (patch) | |
tree | eb4d8129fcec1d3aed939d92e5c79e2ca9143dbd | |
parent | 7a54e8ef132f6c19af4fd5564efd66309eebf0b7 (diff) | |
download | elgg-01c8edf795dbf0a7ea947e7f0676448bdf8ed578.tar.gz elgg-01c8edf795dbf0a7ea947e7f0676448bdf8ed578.tar.bz2 |
Removing double sanitise_string on save metadata
git-svn-id: https://code.elgg.org/elgg/trunk@698 36083f99-b078-4883-b0ff-0f9b5a30f544
-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 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; |