From b8c5f1d29b8b305e8747869a6c5239d26e359af5 Mon Sep 17 00:00:00 2001 From: marina Date: Tue, 27 May 2025 12:06:54 +0300 Subject: [PATCH] ERP-417 --- erp24/controllers/WriteOffsErpController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/controllers/WriteOffsErpController.php b/erp24/controllers/WriteOffsErpController.php index 1f987fda..d250e8ca 100644 --- a/erp24/controllers/WriteOffsErpController.php +++ b/erp24/controllers/WriteOffsErpController.php @@ -543,7 +543,7 @@ class WriteOffsErpController extends Controller if (!$modelProduct->validate()) { $transaction->rollBack(); var_dump($modelProduct->getErrors()); - break; + break; } if (($flag = $modelProduct->save(false)) === false) { -- 2.39.5