﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking
2003	Undefined index notice in account_checkout_express.php	anonymous	Gerhard Waldemair	"In der im Betreff genannten Datei ''account_checkout_express.php'' kommt es bei manchen Versandmodulen zu einer Notice:
`Undefined index: methods in File: PATH_TO_FILE/account_checkout_express.php on Line: 125`

Beispiel: ''/includes/modules/shipping/freeamount.php''
Dort ist ''$this->quotes!['methods']'' unter bestimmten Bedingungen definiert, die, wenn sie nicht zutreffen zu der Notice führen wenn MODULE_SHIPPING_FREEAMOUNT_DISPLAY auf 'true' steht.

Möglicher Fix:
Zumindest im Modul ''freeamount'' müsste man also die ''method'' mitdefinieren in
{{{
      $this->quotes = array('id' => $this->code,
                            'module' => $this->title);
}}}

also z.B. so:
{{{
      $this->quotes = array('id' => $this->code,
                            'module' => $this->title);
      if(strtolower(MODULE_SHIPPING_FREEAMOUNT_DISPLAY) == 'true') {
        $this->quotes['methods'] = array(array('id' => $this->code));
      }
}}}

Gruß,
noRiddle"	Bug/Fehler	closed	normal	modified-shop-2.0.7.0	Module	2.0.5.1	fixed				
