shizhongqi 2 месяцев назад
Родитель
Сommit
5fcc86565c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scripts/test_ghs_stock_concurrency.php

+ 1 - 1
scripts/test_ghs_stock_concurrency.php

@@ -234,7 +234,7 @@ function refreshOrderBodyPrices($orderBody, &$summary)
         return $orderBody;
     }
 
-    $custom = \bizGhs\custom\classes\CustomClass::getCustom($customId);
+    $custom = \bizGhs\custom\classes\CustomClass::getById($customId);
     if (empty($custom)) {
         $summary = 'keep original prices; custom not found';
         return $orderBody;