Skip to content

Typo in ViewConfig::class #23

@jsiemon-edv

Description

@jsiemon-edv

Class "ViewConfig" in "VanillaThunder\TinymceModule\Application\Core" has a typo in it, which renders the shops frontend page when selecting the backend module "CMS-Pages" instead of the "new element view". Existing elements in the list are no longer selectable.

Line 36 reads:

if ($sCoreTableName === "oxcontents" && !in_array($oEditObject->getLoadUd(), $aPlainCmsPages)) {

should be:

if ($sCoreTableName === "oxcontents" && !in_array($oEditObject->getLoadId(), $aPlainCmsPages)) {

Notice call to function "getLoadUd", which should be "getLoadId"...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions