Modify

Opened 9 years ago

Closed 9 years ago

#960 closed Bug/Fehler (fixed)

Unnötige Warning in Easybill Modul

Reported by: Torsten Riemer Owned by: Gerhard Waldemair
Priority: normal Milestone: modified-shop-2.0.1.0
Component: Admin Version: 2.0.0.0
Keywords: Cc:
Blocked By: Blocking:

Description

Trägt man im EasyBill Systemmodul bei den Zahlungsarten keinen Anzeigetext ein, dann erhält man Warnungen wie beispielsweise:

Warning: constant() [function.constant]: Couldn't find constant MODULE_EASYBILL_PAYMENT_TEXT_PAYPALPLUS in /usr/www/xxxxxx/xxxxxx/includes/classes/class.easybill.php on line 371

Warning: Cannot modify header information - headers already sent by (output started at /usr/www/xxxxxx/xxxxxx/includes/classes/class.easybill.php:371) in/usr/www/users/bebetc/admin/includes/functions/general.php on line 198

Das kommt wohl daher, dass in Datei "/includes/external/easybill/classes/class.easybill.php" in Zeile 398 nicht abgefragt wird, ob das Feld nicht ggf. leer ist:

      // Text after Positions
      $document->text = utf8_encode(constant(strtoupper('MODULE_EASYBILL_PAYMENT_TEXT_'.$this->info['payment_method'])));

Attachments (0)

Change History (1)

comment:1 by Gerhard Waldemair, 9 years ago

Resolution: fixed
Status: newclosed

In 10091:

fix #960

Modify Ticket

Action
as closed The owner will remain Gerhard Waldemair.
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.