Modify ↓
Opened 3 years ago
Closed 3 years ago
#2318 closed Bug/Fehler (fixed)
Division by zero in File: /includes/classes/xtcPrice.php on Line: 759
| Reported by: | web-looks.de | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | modified-shop-2.0.8.0 |
| Component: | Shop | Version: | 2.0.7.2 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
Wenn ein Artikel 0€ kostet und Kundengruppenrabatt aktiviert ist.
Vorschlag zur Korrektur:
/includes/classes/xtcPrice.php
Suchen nach:
if ($discount = $this->xtcCheckDiscount($pID)) {
Ersetzen mit:
if ($pPrice > 0 && $discount = $this->xtcCheckDiscount($pID)) {
Attachments (0)
Note:
See TracTickets
for help on using tickets.

In 14779: