diff options
author | Richard Beales <[email protected]> | 2013-03-17 08:03:39 +0000 |
---|---|---|
committer | Richard Beales <[email protected]> | 2013-03-17 08:03:39 +0000 |
commit | 70db7424e7068701e60cc5bcdfe8f858be508179 (patch) | |
tree | 31e82121ea6cec75bbe0316778f9cd250a835561 /include/rssfuncs.php | |
parent | ffbab555b8622160b552616dacf188f1a38aca9a (diff) | |
parent | c722ce3b9677103e45084c25ede03500519aaefc (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r-- | include/rssfuncs.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 156be0b12..5c49008c5 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -569,7 +569,6 @@ $entry_tags = $article["tags"]; $entry_guid = db_escape_string($entry_guid); - $entry_content = db_escape_string($article["content"], false); $entry_title = db_escape_string($article["title"]); $entry_author = db_escape_string($article["author"]); $entry_link = db_escape_string($article["link"]); @@ -582,6 +581,8 @@ if ($cache_images && is_writable(CACHE_DIR . '/images')) $entry_content = cache_images($entry_content, $site_url, $debug_enabled); + $entry_content = db_escape_string($article["content"], false); + $content_hash = "SHA1:" . sha1($entry_content); db_query($link, "BEGIN"); |