mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-22 19:28:53 +00:00
[ticket/13986] Fixed resume data to carry through multiple runs
Options restored from a previous execution should carry to the next resumed execution PHPBB3-13986
This commit is contained in:
parent
903f100c51
commit
9274bc4e32
1 changed files with 2 additions and 2 deletions
|
@ -296,9 +296,9 @@ class reparse extends \phpbb\console\command\command
|
||||||
protected function update_resume_data($name, $current)
|
protected function update_resume_data($name, $current)
|
||||||
{
|
{
|
||||||
$this->resume_data[$name] = array(
|
$this->resume_data[$name] = array(
|
||||||
'range-min' => $this->input->getOption('range-min'),
|
'range-min' => $this->get_option($name, 'range-min'),
|
||||||
'range-max' => $current,
|
'range-max' => $current,
|
||||||
'range-size' => $this->input->getOption('range-size'),
|
'range-size' => $this->get_option($name, 'range-size'),
|
||||||
);
|
);
|
||||||
$this->save_resume_data();
|
$this->save_resume_data();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue