Skip to content

Commit

Permalink
Merge pull request #10 from DavidLambauer/patch-1
Browse files Browse the repository at this point in the history
Fix strict comparison issue
  • Loading branch information
Victor-Mageplaza authored Sep 30, 2020
2 parents f395b89 + a032c61 commit 0cc237f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Config/Backend/Order/Frequency.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function __construct(
public function afterSave()
{
$time = $this->getData('groups/schedule/fields/time/value');
$frequency = $this->getData('groups/schedule/fields/schedule_for/value');
$frequency = (int) $this->getData('groups/schedule/fields/schedule_for/value');

if ($frequency !== ValueConfig::DISABLE) {
$cronExprArray = [
Expand Down

0 comments on commit 0cc237f

Please sign in to comment.