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

This commit is contained in:
Lars Bonczek
2023-03-07 14:49:50 +00:00
committed by Jenkins
parent 86f1bf85c4
commit 39ab1182d9
@@ -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));