git.cweiske.de
/
phinde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ba3122
)
Fix notice
author
Christian Weiske
<cweiske@cweiske.de>
Tue, 30 Aug 2016 11:05:14 +0000
(13:05 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Tue, 30 Aug 2016 11:05:14 +0000
(13:05 +0200)
src/phinde/Crawler.php
patch
|
blob
|
history
diff --git
a/src/phinde/Crawler.php
b/src/phinde/Crawler.php
index
6459fb4
..
a63815d
100644
(file)
--- a/
src/phinde/Crawler.php
+++ b/
src/phinde/Crawler.php
@@
-47,7
+47,7
@@
class Crawler
'accept',
implode(',', array_keys(static::$supportedIndexTypes))
);
- if ($existingDoc) {
+ if ($existingDoc
&& isset($existingDoc->modate)
) {
$nMoDate = strtotime($existingDoc->modate);
$req->setHeader('If-Modified-Since: ' . date('r', $nMoDate));
}