summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-02-19 16:55:36 +0300
committerAndrew Dolgov <[email protected]>2011-02-19 16:55:36 +0300
commitc7a8deacd97242e33a1d4111ccd1da6810d28255 (patch)
tree5fc930eebd1d3cbc3fc0ec8876420d73ccf1e971 /functions.php
parent685352116602e42b23484119f1fde5c6b7fef594 (diff)
db_escape_string: remove tags by default (refs #323)
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
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));