aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2015-10-24 21:24:34 +0200
committerOliver Schramm <oliver.schramm97@gmail.com>2015-10-24 21:24:34 +0200
commitc7ebbcf9f2bf8670ac219fd919f6ee37c5aeb37f (patch)
treec1487ebca96c315bd1834a8bd47df9157a13282d /phpBB/phpbb/cron
parent[ticket/14257] Add reparse_lock to CLI command (diff)
downloadphpbb-c7ebbcf9f2bf8670ac219fd919f6ee37c5aeb37f.tar.gz
phpbb-c7ebbcf9f2bf8670ac219fd919f6ee37c5aeb37f.tar.bz2
phpbb-c7ebbcf9f2bf8670ac219fd919f6ee37c5aeb37f.zip
[ticket/14257] Fix if condition
PHPBB3-14257
Diffstat (limited to 'phpBB/phpbb/cron')
-rw-r--r--phpBB/phpbb/cron/task/text_reparser/reparser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/cron/task/text_reparser/reparser.php b/phpBB/phpbb/cron/task/text_reparser/reparser.php
index 334ce46c26..a8faca3d06 100644
--- a/phpBB/phpbb/cron/task/text_reparser/reparser.php
+++ b/phpBB/phpbb/cron/task/text_reparser/reparser.php
@@ -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;
}