MDL-75659 core: Don't render component argument twice in mustache pix helper

This commit is contained in:
Lars Bonczek 2022-09-06 15:55:11 +02:00 committed by Jenkins
parent 85718f00d8
commit 128c0c2160

View File

@ -68,7 +68,6 @@ class mustache_pix_helper {
if (!$component) {
$component = '';
}
$component = $helper->render($component);
$text = strtok("");
// Allow mustache tags in the last argument.
$text = trim($helper->render($text));