View Issue Details

IDProjectCategoryView StatusLast Update
0005322OXID eShop (all versions)4. ------ eShop Core -------public2015-12-01 11:10
Reportermpienkny 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version4.7.7 / 5.0.7 
Target VersionFixed in Version 
Summary0005322: oxemail->getViewDataItem(..) returns wrong object
DescriptionIt should return single element named by parameter $sKey, not whole array.

Otherwise you could use function getViewData() !
Additional InformationSeen in PE 4.7.6 and also in very older versions (e.q. EE 4.5.9)
TagsNo tags attached.
ThemeNot defined
BrowserAll
PHP VersionNot defined
MySQL VersionNot defined

Activities

d3

2015-02-23 16:15

reporter   ~0010698

Last edited: 2015-02-23 16:16

View 2 revisions

please change this:
    public function getViewDataItem( $sKey )
    {
        if ( isset($this->_aViewData[$sKey]) ) {
            return $this->_aViewData;
        }
    }
to this:
    public function getViewDataItem( $sKey )
    {
        if ( isset($this->_aViewData[$sKey]) ) {
            return $this->_aViewData[$sKey];
        }
    }


KH