diff options
Diffstat (limited to 'engine/lib')
-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 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;
|