fix SEO URL generator

Cette révision appartient à :
Daniel Seifert 2024-09-20 21:56:36 +02:00
Parent faf08ed786
révision f43eb2584a
Signé par: DanielS
ID de la clé GPG: 6A513E13AEE66170

Voir le fichier

@ -131,7 +131,7 @@ class Actions
{
foreach (array_keys($this->stdClassName) as $id) {
$seoEncoder = oxNew(SeoEncoder::class);
$objectid = md5(strtolower(Registry::getConfig()->getShopId() . $this->seo_de[$id]));
$objectid = md5(strtolower(Registry::getConfig()->getShopId() . 'index.php?cl=' . $this->stdClassName[$id]));
if (!$this->hasSeoUrl($this->stdClassName[$id], 0)) {
$seoEncoder->addSeoEntry(
$objectid,
@ -143,7 +143,7 @@ class Actions
false
);
}
if (!$this->hasSeoUrl($this->stdClassName[$id], 0)) {
if (!$this->hasSeoUrl($this->stdClassName[$id], 1)) {
$seoEncoder->addSeoEntry(
$objectid,
Registry::getConfig()->getShopId(),