diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-15 14:42:08 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-04-15 14:42:08 +0000 |
commit | 030c68e934e467ec8b3ae35f099af26d0e561c07 (patch) | |
tree | 8ba0afc4c3dfc27a666470eea9c9949a213e1d6d /engine/lib/metastrings.php | |
parent | bdb0ef6d84f781ea3e85a6670efc20b6adadb6bc (diff) | |
download | elgg-030c68e934e467ec8b3ae35f099af26d0e561c07.tar.gz elgg-030c68e934e467ec8b3ae35f099af26d0e561c07.tar.bz2 |
Removing the multiple slash problem on metastrings in extenders
git-svn-id: https://code.elgg.org/elgg/trunk@458 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/metastrings.php')
-rw-r--r-- | engine/lib/metastrings.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 |