Modify ↓
Opened 4 years ago
Closed 4 years ago
#2236 closed Bug/Fehler (fixed)
Abfrage nach MODULE_ORDER_TOTAL_INSTALLED in checkout_confirmation.php korrigieren
| Reported by: | noRiddle | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | modified-shop-2.0.7.1 |
| Component: | Shop | Version: | 2.0.7.0 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
In der /checkout_confirmation.php gibt es in zeile 167 diese Condition:
if (MODULE_ORDER_TOTAL_INSTALLED) {
...
}
Abgesehen davon, daß mir nicht klar ist wozu diese genau dient ist sie so nicht korrekt (würde wenn nicht definiert ja min. ein Warning, je nach PHP-Version aber einen Error "undefined constant..." geben).
Soll da dies abgefragt werden
if (defined('MODULE_ORDER_TOTAL_INSTALLED')) {
...
}
oder gar
if (defined('MODULE_ORDER_TOTAL_INSTALLED') && MODULE_ORDER_TOTAL_INSTALLED != '') {
...
}
Gruß,
noRiddle
Attachments (0)
Change History (2)
comment:1 by , 4 years ago
| Milestone: | → modified-shop-2.0.7.1 |
|---|
comment:2 by , 4 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

In 14508: