Skip to content

Commit

Permalink
Update OrderConditionFields.php (#2466)
Browse files Browse the repository at this point in the history
In Backend`dev`mode, editing an `Isotope checkout module` throws errors: 
```
Warning: Undefined array key "\Isotope\CheckoutStep\BillingAddress"
```
Contao: 4.13.24
Isotope:  2.8.14
  • Loading branch information
tsarma authored Jul 19, 2023
1 parent 90ed5b7 commit 9f1ecf4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function getSteps()
$groupLabel = $GLOBALS['TL_LANG']['MSC']['checkout_'.$group];

foreach ($steps as $step) {
$options[$groupLabel][$step] = $GLOBALS['TL_LANG']['CHECKOUT'][$step] ?: substr($step, strrpos($step, '\\') + 1);
$options[$groupLabel][$step] = $GLOBALS['TL_LANG']['CHECKOUT'][$step] ?? substr($step, strrpos($step, '\\') + 1);
}
}

Expand Down

0 comments on commit 9f1ecf4

Please sign in to comment.