Greater than, lesser than... what's the big deal?? :P

git-svn-id: file:///svn/phpbb/trunk@4371 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud 2003-08-10 21:19:21 +00:00
parent 253b6ff14e
commit 26e8568c9b

View file

@ -160,7 +160,7 @@ class acm
if ($max_age > 0 && isset($this->vars[$var_name])) if ($max_age > 0 && isset($this->vars[$var_name]))
{ {
if ($this->vars[$var_name]['ts'] + $max_age > time()) if ($this->vars[$var_name]['ts'] + $max_age < time())
{ {
$this->destroy($var_name); $this->destroy($var_name);
return FALSE; return FALSE;