View Issue Details

IDProjectCategoryView StatusLast Update
0006885OXID eShop (all versions)4.09. SEO, SEO URLpublic2024-05-15 14:34
Reporterkaluzki Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Fixed in Version6.1.2 
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
Database VersionNot defined