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 Torsten Riemer, 4 years ago

Milestone: modified-shop-2.0.7.1

comment:2 by Gerhard Waldemair, 4 years ago

Resolution: fixed
Status: newclosed

In 14508:

fix #2236 - unify module installed

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.