diff options
author | Andrew Dolgov <[email protected]> | 2011-02-19 16:55:36 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-02-19 16:55:36 +0300 |
commit | c7a8deacd97242e33a1d4111ccd1da6810d28255 (patch) | |
tree | 5fc930eebd1d3cbc3fc0ec8876420d73ccf1e971 /functions.php | |
parent | 685352116602e42b23484119f1fde5c6b7fef594 (diff) |
db_escape_string: remove tags by default (refs #323)
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
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)); |