diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-12 13:59:40 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-12 13:59:40 +0000 |
commit | 686ecfb0289cf8cb7008a64fa3484de0eaba2eb1 (patch) | |
tree | 5a686b1cd449da0b0ac65f75771d836d911cebab | |
parent | 49e74d749168f844f82494169f0b6987da0e4234 (diff) | |
download | elgg-686ecfb0289cf8cb7008a64fa3484de0eaba2eb1.tar.gz elgg-686ecfb0289cf8cb7008a64fa3484de0eaba2eb1.tar.bz2 |
git-svn-id: https://code.elgg.org/elgg/trunk@188 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/annotations.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; |