Skip to content

Commit 30dd0d1

Browse files
committed
Fix icon default
1 parent ca82704 commit 30dd0d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

templates/element/yes_no.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
*/
88
?>
99
<?php
10-
if ($this->helpers()->has('IconSnippet')) {
10+
if ($this->helpers()->has('Templating')) {
11+
echo $this->Templating->yesNo($value);
12+
} elseif ($this->helpers()->has('IconSnippet')) {
1113
echo $this->IconSnippet->yesNo($value);
1214
} elseif ($this->helpers()->has('Format')) {
1315
echo $this->Format->yesNo($value);

0 commit comments

Comments
 (0)