From 686ecfb0289cf8cb7008a64fa3484de0eaba2eb1 Mon Sep 17 00:00:00 2001 From: icewing Date: Wed, 12 Mar 2008 13:59:40 +0000 Subject: git-svn-id: https://code.elgg.org/elgg/trunk@188 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/annotations.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine') diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index 91a8dce01..0b2da0d2d 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -148,9 +148,9 @@ global $CONFIG; $entity_id = (int)$entity_id; - $entity_type = sanitise_string(trim($entity_type)); + $entity_type = sanitise_string($entity_type); $entity_subtype = sanitise_string($entity_subtype); - $name = sanitise_string(trim($name)); + $name = sanitise_string($name); $value = get_metastring_id($value); $owner_id = (int)$owner_id; -- cgit v1.2.3