From c7a8deacd97242e33a1d4111ccd1da6810d28255 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 19 Feb 2011 16:55:36 +0300 Subject: db_escape_string: remove tags by default (refs #323) --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 0a7559368..16780fd1f 100644 --- a/functions.php +++ b/functions.php @@ -954,7 +954,7 @@ $result = db_query($link, "SELECT id FROM ttrss_entries WHERE guid = '$entry_guid'"); - $entry_content = db_escape_string($entry_content); + $entry_content = db_escape_string($entry_content, true); $content_hash = "SHA1:" . sha1(strip_tags($entry_content)); -- cgit v1.2.3