Skip to content
Permalink
Browse files

Fix notice in CakeSession.

  • Loading branch information...
dereuromark committed Aug 4, 2014
1 parent 4e168ca commit 864f5e06f69afe93918ba8d0fe3403a8fc11f549
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Model/Datasource/CakeSession.php
@@ -348,7 +348,7 @@ protected static function _validAgentAndTime() {
$config = self::read('Config');
$validAgent = (
Configure::read('Session.checkAgent') === false ||
self::$_userAgent == $config['userAgent']
isset($config['userAgent']) && self::$_userAgent === $config['userAgent']
);
return ($validAgent && self::$time <= $config['time']);
}

0 comments on commit 864f5e0

Please sign in to comment.
You can’t perform that action at this time.