GX-Bug #45304 » OrdersEditShipptingTimeFix.patch
src/admin/orders_edit.php (revision ) | ||
---|---|---|
315 | 315 |
$orderItem->setTax(new DecimalType($tax_rate)); |
316 | 316 |
$orderItem->setTaxAllowed(new BoolType((bool)(int)$status['customers_status_show_price_tax'])); |
317 | 317 |
$orderItem->setProductModel(new StringType(xtc_db_prepare_input($product['products_model']))); |
318 |
$orderItem->setShippingTimeInfo(new StringType(xtc_db_prepare_input($t_shipping_time['shipping_status_name']))); |
|
318 |
$orderItem->setShippingTimeInfo(new StringType(xtc_db_prepare_input((string)$t_shipping_time['shipping_status_name'])));
|
|
319 | 319 |
$orderItem->setAddonValue(new StringType('productId'), new StringType($_POST['products_id'])); |
320 | 320 |
|
321 | 321 |
$orderWriteService->addOrderItem(new IdType($_POST['oID']), $orderItem); |