diff --git a/src/SimplePie.php b/src/SimplePie.php index d75581ec9..70ae0152e 100644 --- a/src/SimplePie.php +++ b/src/SimplePie.php @@ -1900,7 +1900,7 @@ protected function fetch_data(&$cache) $this->data = []; } // Check if the cache has been updated - elseif (empty($this->data['cache_expiration_time']) || $this->data['cache_expiration_time'] < time()) { + elseif (!isset($this->data['cache_expiration_time']) || $this->data['cache_expiration_time'] < time()) { // Want to know if we tried to send last-modified and/or etag headers // when requesting this file. (Note that it's up to the file to // support this, but we don't always send the headers either.)