Modify

Opened 11 years ago

Closed 11 years ago

#328 closed Bug/Fehler (fixed)

Löschen von Produkten hinterliess Karteileichen beim Download

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 (last modified by Torsten Riemer)

Shopversion rev4642 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)($_POST['opID'])."'");
  xtc_db_query("delete from ".TABLE_ORDERS_PRODUCTS_DOWNLOAD." where orders_products_id = '".(int)($_POST['opID'])."'");
  xtc_db_query("delete from ".TABLE_ORDERS_PRODUCTS." where orders_id = '".(int)($_POST['oID'])."' and orders_products_id = '".(int)($_POST['opID'])."'");

Attachments (0)

Change History (3)

comment:1 by Torsten Riemer, 11 years ago

Description: modified (diff)

comment:2 by Torsten Riemer, 11 years ago

Description: modified (diff)

comment:3 by Gerhard Waldemair, 11 years ago

Resolution: fixed
Status: newclosed

in version 2.00 bereits behoben

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.