Skip to content

Commit 128c0c2

Browse files
larsbonczekJenkins
authored and
Jenkins
committed
MDL-75659 core: Don't render component argument twice in mustache pix helper
1 parent 85718f0 commit 128c0c2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: lib/classes/output/mustache_pix_helper.php

-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ public function pix($text, Mustache_LambdaHelper $helper) {
6868
if (!$component) {
6969
$component = '';
7070
}
71-
$component = $helper->render($component);
7271
$text = strtok("");
7372
// Allow mustache tags in the last argument.
7473
$text = trim($helper->render($text));

0 commit comments

Comments
 (0)