aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-07-17 14:00:47 +0200
committerJoshyPHP <s9e.dev@gmail.com>2015-07-17 14:02:19 +0200
commit9274bc4e3263b4aa9e278009fbc17f10985c439e (patch)
treecd2961278d545b6867f2ac0b320713cfecd18f9f /phpBB/phpbb/console
parent903f100c5120ad516e248ee30b18dd9a64468656 (diff)
downloadforums-9274bc4e3263b4aa9e278009fbc17f10985c439e.tar
forums-9274bc4e3263b4aa9e278009fbc17f10985c439e.tar.gz
forums-9274bc4e3263b4aa9e278009fbc17f10985c439e.tar.bz2
forums-9274bc4e3263b4aa9e278009fbc17f10985c439e.tar.xz
forums-9274bc4e3263b4aa9e278009fbc17f10985c439e.zip
[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
Diffstat (limited to 'phpBB/phpbb/console')
-rw-r--r--phpBB/phpbb/console/command/reparser/reparse.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/console/command/reparser/reparse.php b/phpBB/phpbb/console/command/reparser/reparse.php
index 44a4691981..f81ebfa8ca 100644
--- a/phpBB/phpbb/console/command/reparser/reparse.php
+++ b/phpBB/phpbb/console/command/reparser/reparse.php
@@ -296,9 +296,9 @@ class reparse extends \phpbb\console\command\command
protected function update_resume_data($name, $current)
{
$this->resume_data[$name] = array(
- 'range-min' => $this->input->getOption('range-min'),
+ 'range-min' => $this->get_option($name, 'range-min'),
'range-max' => $current,
- 'range-size' => $this->input->getOption('range-size'),
+ 'range-size' => $this->get_option($name, 'range-size'),
);
$this->save_resume_data();
}