View Issue Details

IDProjectCategoryView StatusLast Update
0005566OXID eShop (all versions)1.05. Userspublic2014-02-24 15:09
Reportercpjolly Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.8.1 / 5.1.1 
Fixed in Version4.9.0_5.2.0_beta1 
Summary0005566: Undefined Variable $var on line 477 of oxuser.php
DescriptionWhere is $var defined in the function getUserPayments ? It is used on line 477 but I can't see where it is defined.

https://github.com/OXID-eSales/oxideshop_ce/blob/b-5.1-ce/source/application/models/oxuser.php

            foreach ( $this->_oPayments as $oPayment ) {
                // add custom fields to this class
                $oPayment = $myUtils->assignValuesFromText( $val->oxuserpayments__oxvalue->value );
            }
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

tadas

2014-02-24 15:09

reporter   ~0009593

Removed part of the code that is no longer used. To get user payments, use oxUserPayment::getDynValues() method.