View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001820 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2010-05-11 11:36 | 2012-12-10 14:22 |
| Reporter | umaun | Assigned To | |||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 4.3.1 revision 27257 | ||||
| Fixed in Version | 4.3.2 revision 27884 | ||||
| Summary | 0001820: Unnecessary loads in xml export | ||||
| Description | imho there are unnecessary loads in xml export | ||||
| Additional Information | diff oximex.php oximex.php.org 384,393c384,391 < // ? unnecessary load, $sPayment is not used ? < //$oUserpayment = oxNew( "oxuserpayment" ); < //$oUserpayment->load( $oOrder->oxorder__oxpaymentid->value); < //$sPayment = $oUserpayment->oxuserpayments__oxvalue->value; < //$sPayment = str_replace( "__", "", $sPayment); < //$sPayment = str_replace( "@@", ",", $sPayment); < < // ? unnecessary load, see $oPayment below ? < //$oPayment = oxNew( "oxpayment" ); < //$oPayment->load( $oOrder->oxorder__oxpaymenttype->value); --- > $oUserpayment = oxNew( "oxuserpayment" ); > $oUserpayment->load( $oOrder->oxorder__oxpaymentid->value); > $sPayment = $oUserpayment->oxuserpayments__oxvalue->value; > $sPayment = str_replace( "__", "", $sPayment); > $sPayment = str_replace( "@@", ",", $sPayment); > > $oPayment = oxNew( "oxpayment" ); > $oPayment->load( $oOrder->oxorder__oxpaymenttype->value); | ||||
| Tags | Export, Import | ||||
| Theme | |||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||