summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-02-26 07:55:34 +0100
committerAndrew Dolgov <[email protected]>2006-02-26 07:55:34 +0100
commitb6104dee39262371c75cd617adaeca7a89456a4a (patch)
tree9739d1a8f5a097054511619841f8fc2c4c64fd98 /functions.php
parentbc8a951242d82c41f86c0b6268f511b8f8be0eb1 (diff)
fix Opera caching bug
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index b6490fac9..28b8a7db4 100644
--- a/functions.php
+++ b/functions.php
@@ -355,6 +355,8 @@
$entry_comments = $item["comments"];
+ $entry_author = db_escape_string($item['dc']['creator']);
+
$entry_guid = db_escape_string($entry_guid);
$result = db_query($link, "SELECT id FROM ttrss_entries
@@ -384,7 +386,8 @@
no_orig_date,
date_entered,
comments,
- num_comments)
+ num_comments,
+ author)
VALUES
('$entry_title',
'$entry_guid',
@@ -395,7 +398,8 @@
$no_orig_date,
NOW(),
'$entry_comments',
- '$num_comments')");
+ '$num_comments',
+ '$entry_author')");
} else {
// we keep encountering the entry in feeds, so we need to
// update date_entered column so that we don't get horrible