diff --git a/core/components/minishop2/processors/mgr/settings/delivery/create.class.php b/core/components/minishop2/processors/mgr/settings/delivery/create.class.php index cd6be6ca7..57ab59d97 100644 --- a/core/components/minishop2/processors/mgr/settings/delivery/create.class.php +++ b/core/components/minishop2/processors/mgr/settings/delivery/create.class.php @@ -39,6 +39,7 @@ public function beforeSet() $prices = ['price', 'distance_price', 'weight_price', 'free_delivery_amount']; foreach ($prices as $field) { + $tmp = trim($this->getProperty($field)); $tmp = $this->preparePrice($tmp); $this->setProperty($field, $tmp); }