Skip to content

Commit

Permalink
Fix variable handling for format in getTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
rabauss authored and ausi committed Apr 12, 2021
1 parent eccb2a8 commit 927eb05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Template/CustomTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ protected function getTemplatePath($template, $format = 'html5', $default = fals
*/
public static function getTemplate($template, $format = 'html5')
{
$templates = static::getTemplates($template, $format = 'html5');
$templates = static::getTemplates($template, $format);

return isset($templates[0]) ? $templates[0] : null;
}
Expand Down

0 comments on commit 927eb05

Please sign in to comment.