trying to fix not working HtmlArea / TinyMCE in 19.1

seems it's caused by - for what ever reason - caching the wrong class for "htmlarea" widget
This commit is contained in:
Ralf Becker 2019-07-08 10:09:01 +02:00
parent 4ced6407c6
commit b6bbe8c681

View File

@ -382,7 +382,9 @@ class Widget
} }
} }
} }
if (self::$widget_registry['htmlarea'] === Api\Etemplate\Widget\HtmlArea::class)
Api\Cache::setInstance('etemplate', 'widget_registry', self::$widget_registry, 3600); Api\Cache::setInstance('etemplate', 'widget_registry', self::$widget_registry, 3600);
else error_log(__METHOD__."() wrong class for Htmlarea: ".function_backtrace ());
} }
else else
{ {