oxid-module-tinymce icon indicating copy to clipboard operation
oxid-module-tinymce copied to clipboard

Typo in ViewConfig::class

Open jsiemon-edv opened this issue 4 years ago • 0 comments

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"...

jsiemon-edv avatar Feb 09 '21 16:02 jsiemon-edv