From ed1262d55a01a6ffbefe01eb3b5fc22d33dfad24 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 29 Nov 2018 23:04:12 +0300 Subject: oops, remove useless db_escape_string() in article class (and nsfw plugin) --- plugins/nsfw/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/nsfw/init.php b/plugins/nsfw/init.php index f10881ba5..6a1ae3c65 100644 --- a/plugins/nsfw/init.php +++ b/plugins/nsfw/init.php @@ -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); -- cgit v1.2.3