aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-07 15:16:28 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-07 15:16:28 +0000
commit8ea3f21844bd4895c959b57c0fa9a497aadc7f50 (patch)
tree3cf4bd21db455b5edb5411c5b0c4fac43e3a9fc2 /engine
parent69a750eb7b2a3c7a09369a3714bfaa9ef028f086 (diff)
downloadelgg-8ea3f21844bd4895c959b57c0fa9a497aadc7f50.tar.gz
elgg-8ea3f21844bd4895c959b57c0fa9a497aadc7f50.tar.bz2
Removed an extra sanitise_string call in update_annotations
git-svn-id: https://code.elgg.org/elgg/trunk@1762 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/annotations.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php
index 5d2029591..6fd088516 100644
--- a/engine/lib/annotations.php
+++ b/engine/lib/annotations.php
@@ -211,8 +211,8 @@
global $CONFIG;
$annotation_id = (int)$annotation_id;
- $name = sanitise_string(trim($name));
- $value = sanitise_string(trim($value));
+ $name = (trim($name));
+ $value = (trim($value));
$value_type = detect_extender_valuetype($value, sanitise_string(trim($value_type)));
$owner_guid = (int)$owner_guid;