View Issue Details

IDProjectCategoryView StatusLast Update
0005322OXID eShop (all versions)4. ------ eShop Core -------public2023-11-20 15:57
Reportermpienkny Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version4.7.7 / 5.0.7 
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
Database VersionNot defined

Activities

d3

2015-02-23 16:15

reporter   ~0010698

Last edited: 2015-02-23 16:16

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