diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/annotations.php | 4 | ||||
-rw-r--r-- | engine/lib/extender.php | 2 | ||||
-rw-r--r-- | engine/lib/metastrings.php | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/engine/lib/annotations.php b/engine/lib/annotations.php index 93727a283..e76254acb 100644 --- a/engine/lib/annotations.php +++ b/engine/lib/annotations.php @@ -158,8 +158,8 @@ global $CONFIG; $entity_guid = (int)$entity_guid; - $name = sanitise_string(trim($name)); - $value = sanitise_string(trim($value)); + //$name = sanitise_string(trim($name)); + //$value = sanitise_string(trim($value)); $value_type = detect_extender_valuetype($value, sanitise_string(trim($value_type))); $owner_guid = (int)$owner_guid; diff --git a/engine/lib/extender.php b/engine/lib/extender.php index d3963d781..05a86a62e 100644 --- a/engine/lib/extender.php +++ b/engine/lib/extender.php @@ -43,7 +43,7 @@ case 'integer' : return (int)$this->attributes['value']; //case 'tag' : //case 'file' : - case 'text' : return sanitise_string($this->attributes['value']); + case 'text' : return ($this->attributes['value']); default : throw new InstallationException("Type {$this->attributes['value_type']} is not supported. This indicates an error in your installation, most likely caused by an incomplete upgrade."); } diff --git a/engine/lib/metastrings.php b/engine/lib/metastrings.php index 45ad8acda..aaa199e03 100644 --- a/engine/lib/metastrings.php +++ b/engine/lib/metastrings.php @@ -41,12 +41,12 @@ { global $CONFIG; - $string = sanitise_string($string); + $sanstring = sanitise_string($string); $id = get_metastring_id($string); if ($id) return $id; - return insert_data("INSERT into {$CONFIG->dbprefix}metastrings (string) values ('$string')"); + return insert_data("INSERT into {$CONFIG->dbprefix}metastrings (string) values ('$sanstring')"); } ?>
\ No newline at end of file |