fix Opera caching bug
This commit is contained in:
parent
bc8a951242
commit
b6104dee39
2 changed files with 7 additions and 3 deletions
|
@ -355,6 +355,8 @@
|
||||||
|
|
||||||
$entry_comments = $item["comments"];
|
$entry_comments = $item["comments"];
|
||||||
|
|
||||||
|
$entry_author = db_escape_string($item['dc']['creator']);
|
||||||
|
|
||||||
$entry_guid = db_escape_string($entry_guid);
|
$entry_guid = db_escape_string($entry_guid);
|
||||||
|
|
||||||
$result = db_query($link, "SELECT id FROM ttrss_entries
|
$result = db_query($link, "SELECT id FROM ttrss_entries
|
||||||
|
@ -384,7 +386,8 @@
|
||||||
no_orig_date,
|
no_orig_date,
|
||||||
date_entered,
|
date_entered,
|
||||||
comments,
|
comments,
|
||||||
num_comments)
|
num_comments,
|
||||||
|
author)
|
||||||
VALUES
|
VALUES
|
||||||
('$entry_title',
|
('$entry_title',
|
||||||
'$entry_guid',
|
'$entry_guid',
|
||||||
|
@ -395,7 +398,8 @@
|
||||||
$no_orig_date,
|
$no_orig_date,
|
||||||
NOW(),
|
NOW(),
|
||||||
'$entry_comments',
|
'$entry_comments',
|
||||||
'$num_comments')");
|
'$num_comments',
|
||||||
|
'$entry_author')");
|
||||||
} else {
|
} else {
|
||||||
// we keep encountering the entry in feeds, so we need to
|
// we keep encountering the entry in feeds, so we need to
|
||||||
// update date_entered column so that we don't get horrible
|
// update date_entered column so that we don't get horrible
|
||||||
|
|
|
@ -185,7 +185,7 @@ function scheduleFeedUpdate(force) {
|
||||||
|
|
||||||
var omode;
|
var omode;
|
||||||
|
|
||||||
if (firsttime_update) {
|
if (firsttime_update && !navigator.userAgent.match("Opera")) {
|
||||||
firsttime_update = false;
|
firsttime_update = false;
|
||||||
omode = "T";
|
omode = "T";
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue