Opened 11 years ago

Last modified 11 years ago

#328 closed Bug/Fehler

Löschen von Produkten hinterliess Karteileichen beim Download — at Initial Version

Reported by: kaisa Owned by: somebody
Priority: niedrig Milestone: modified-shop-2.0.0.0
Component: Admin Version: 1.06
Keywords: Cc:
Blocked By: Blocking:

Description

R4642 noch fehlerhaft.
Beim Löschen eines Produktes bleibt ggf. ein Eintrag für den Download übrig. unsauber.

admin/orders_edit.php
Z759, 1 Zeile hinzufügen.

if ($action == 'product_delete') {

xtc_db_query("delete from ".TABLE_ORDERS_PRODUCTS_ATTRIBUTES." where orders_products_id = '".(int)($_POSTopID)."'");
xtc_db_query("delete from ".TABLE_ORDERS_PRODUCTS_DOWNLOAD." where orders_products_id = '".(int)($_POSTopID)."'");
xtc_db_query("delete from ".TABLE_ORDERS_PRODUCTS." where orders_id = '".(int)($_POSToID)."' and orders_products_id = '".(int)($_POSTopID)."'");

Change History (0)

Note: See TracTickets for help on using tickets.