[ticket/14257] Fix if condition

PHPBB3-14257
This commit is contained in:
Oliver Schramm 2015-10-24 21:24:34 +02:00
parent c7ecb1310f
commit c7ebbcf9f2

View file

@ -99,7 +99,7 @@ class reparser extends \phpbb\cron\task\base
$this->load_resume_data();
}
if (empty($this->resume_data[$this->reparser_name]['range-max']) || $this->resume_data[$this->reparser_name]['range-max'] === $this->resume_data[$this->reparser_name]['range-min'])
if (empty($this->resume_data[$this->reparser_name]['range-max']) || $this->resume_data[$this->reparser_name]['range-max'] >= $this->resume_data[$this->reparser_name]['range-min'])
{
return true;
}