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)
Note:
See TracTickets
for help on using tickets.

In 10091: