MDL-75659 core: Don't render component argument twice in mustache pix helper
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user