1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 14:05:56 +00:00

oops, remove useless db_escape_string() in article class (and nsfw plugin)

This commit is contained in:
Andrew Dolgov
2018-11-29 23:04:12 +03:00
parent 560b9fdd26
commit ed1262d55a
2 changed files with 2 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ class NSFW extends Plugin {
}
function save() {
$tags = explode(",", db_escape_string($_POST["tags"]));
$tags = explode(",", $_POST["tags"]);
$tags = array_map("trim", $tags);
$tags = array_map("mb_strtolower", $tags);
$tags = join(", ", $tags);