Commit 15ddf6db authored by Ederson Mora's avatar Ederson Mora

Update cron.inc.php

parent 6f8ed7d8
......@@ -271,9 +271,9 @@ class cron {
}
*/
foreach($this->_aValidValues[$sField] as $key => $value) {
if($bIncludeCurrent == true && $value >= $iValue) return $value;
elseif($value > $iValue) return $value;
}
if($bIncludeCurrent == true && $value >= $iValue) return $value;
elseif($value > $iValue) return $value;
}
return reset($this->_aValidValues[$sField]);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment