fix isset

This commit is contained in:
ellynoize 2025-01-17 15:27:38 +03:00
parent 06f0ff45c9
commit d3fed95083

View file

@ -136,9 +136,7 @@ class ModelExtensionRetailcrmOrder extends Model {
$order['number'] = $order_data['order_id'];
}
if (isset($this->settings[$this->moduleTitle . '_summ_around'])
&& $this->settings[$this->moduleTitle . '_summ_around'] == 1
) {
if ($this->settings[$this->moduleTitle . '_summ_around'] == 1) {
$order['applyRound'] = true;
}