Opened 11 years ago
Last modified 11 years ago
#328 closed Bug/Fehler
Löschen von Produkten hinterliess Karteileichen beim Download — at Version 2
| 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 )
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'])."'");
Change History (2)
comment:1 by , 11 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 11 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.
