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 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; |