Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
This commit is contained in:
commit
6488122862
|
@ -1168,6 +1168,9 @@ class CakeResponse {
|
|||
if ($modifiedSince) {
|
||||
$timeMatches = strtotime($this->modified()) === strtotime($modifiedSince);
|
||||
}
|
||||
if (!isset($etagMatches, $timeMatches)) {
|
||||
return false;
|
||||
}
|
||||
$checks = compact('etagMatches', 'timeMatches');
|
||||
if (empty($checks)) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue