View Issue Details

IDProjectCategoryView StatusLast Update
0006885OXID eShop (all versions)4.09. SEO, SEO URLpublic2018-10-18 16:43
Reporterkaluzki 
PrioritylowSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0006885: \OxidEsales\EshopCommunity\Application\Model\SeoEncoderArticle::_getCategory (same "if" and "elseif" branches)
Descriptionsame "if" and "elseif" branches

probably should be:

        if ($oView instanceof \OxidEsales\Eshop\Application\Controller\FrontendController) {
            $oCat = $oView->getActiveCategory();
        } elseif ($oView instanceof \OxidEsales\Eshop\Core\Controller\BaseController) {
            $oCat = $oView->getActCategory();
        }

@see
Commit: 1c91a9fc511e69dca19980a7c79ac802ba4c0e2d
ESDEV-4086 Replace oxclasses in instanceof


TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
MySQL VersionNot defined

Activities

There are no notes attached to this issue.