fix SEO URL generator
This commit is contained in:
parent
faf08ed786
commit
f43eb2584a
@ -131,7 +131,7 @@ class Actions
|
|||||||
{
|
{
|
||||||
foreach (array_keys($this->stdClassName) as $id) {
|
foreach (array_keys($this->stdClassName) as $id) {
|
||||||
$seoEncoder = oxNew(SeoEncoder::class);
|
$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)) {
|
if (!$this->hasSeoUrl($this->stdClassName[$id], 0)) {
|
||||||
$seoEncoder->addSeoEntry(
|
$seoEncoder->addSeoEntry(
|
||||||
$objectid,
|
$objectid,
|
||||||
@ -143,7 +143,7 @@ class Actions
|
|||||||
false
|
false
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (!$this->hasSeoUrl($this->stdClassName[$id], 0)) {
|
if (!$this->hasSeoUrl($this->stdClassName[$id], 1)) {
|
||||||
$seoEncoder->addSeoEntry(
|
$seoEncoder->addSeoEntry(
|
||||||
$objectid,
|
$objectid,
|
||||||
Registry::getConfig()->getShopId(),
|
Registry::getConfig()->getShopId(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user