Fix for failing test "Whitespace found at end of line"

This commit is contained in:
Costa Caruso 2014-07-03 15:45:03 -04:00
parent 4f559f5cc9
commit 8bfebd64fb

View file

@ -838,7 +838,7 @@ class CakeResponse {
$this->_cacheDirectives['private'] = true;
unset($this->_cacheDirectives['public']);
}
$this->maxAge($time);
if (!$time) {
$this->_setCacheControl();