diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2016-08-30 13:05:14 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2016-08-30 13:05:14 +0200 |
| commit | ba1f6fc77827dba86b1ac0b62aa288dd0f977cb8 (patch) | |
| tree | 86aaa2b568c49ca7d99c820cf1bcdd54802b5a0f /src | |
| parent | 1ba3122f581c4f2dd3e013673980c239287995d3 (diff) | |
| download | phinde-ba1f6fc77827dba86b1ac0b62aa288dd0f977cb8.tar.gz phinde-ba1f6fc77827dba86b1ac0b62aa288dd0f977cb8.zip | |
Fix notice
Diffstat (limited to 'src')
| -rw-r--r-- | src/phinde/Crawler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phinde/Crawler.php b/src/phinde/Crawler.php index 6459fb4..a63815d 100644 --- 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)); } |
