1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-13 20:28:44 +01:00

[ticket/15379] Fix the assignments in reparser cron job

PHPBB3-15379
This commit is contained in:
Oliver Schramm 2017-09-25 17:46:00 +02:00
parent d095e620c1
commit 4069cdd518

View File

@ -85,7 +85,7 @@ class reparser extends \phpbb\cron\task\base
if ($this->resume_data === null)
{
$this->reparser_manager->get_resume_data($this->reparser_name);
$this->resume_data = $this->reparser_manager->get_resume_data($this->reparser_name);
}
}
@ -96,7 +96,7 @@ class reparser extends \phpbb\cron\task\base
{
if ($this->resume_data === null)
{
$this->reparser_manager->get_resume_data($this->reparser_name);
$this->resume_data = $this->reparser_manager->get_resume_data($this->reparser_name);
}
if (!isset($this->resume_data['range-max']) || $this->resume_data['range-max'] >= $this->resume_data['range-min'])