Development

#3141: sfViewCacheManager.patch

You must first sign up to be able to contribute.

Ticket #3141: sfViewCacheManager.patch

File sfViewCacheManager.patch, 0.9 kB (added by francois, 10 months ago)
  • view/sfViewCacheManager.class.php

    old new  
    169169    $this->cacheConfig[$moduleName][$actionName] = array( 
    170170      'withLayout'     => isset($options['withLayout']) ? $options['withLayout'] : false, 
    171171      'lifeTime'       => $options['lifeTime'], 
    172       'clientLifeTime' => isset($options['clientLifeTime']) && $options['clientLifeTime'] ? $options['clientLifeTime'] : $options['lifeTime'], 
     172      'clientLifeTime' => isset($options['clientLifeTime']) ? $options['clientLifeTime'] : $options['lifeTime'], 
    173173      'contextual'     => isset($options['contextual']) ? $options['contextual'] : false, 
    174174      'vary'           => isset($options['vary']) ? $options['vary'] : array(), 
    175175    );