am: 09. Januar 2011, 00:25:19
Hallo,
ich habe einen kleinen Bug in der orders_edit.php gefunden.
Wenn eine Bestellung im Adminbereich manuell angelegt wird, dann stimmt die Sortierung der Versandkosten in OT_Total nicht, da der Wert nicht gesetzt wird.
Hier ein kleiner Bug-FIX
Zeile: ca. 241
alt:
$sql_data_array = array ('orders_id' => xtc_db_prepare_input
($_POST['oID']), 'title' => xtc_db_prepare_input
($shipping_text), 'text' => xtc_db_prepare_input
($text), 'value' => xtc_db_prepare_input
($_POST['value']), 'class' => 'ot_shipping'); neu:
$sql_data_array = array ('orders_id' => xtc_db_prepare_input
($_POST['oID']), 'title' => xtc_db_prepare_input
($shipping_text), 'text' => xtc_db_prepare_input
($text), 'value' => xtc_db_prepare_input
($_POST['value']), 'class' => 'ot_shipping', 'sort_order' => MODULE_ORDER_TOTAL_SHIPPING_SORT_ORDER
); Viele Grüße
Christian
Linkback: https://www.modified-shop.org/forum/index.php?topic=10529.0