Skip to content

Commit

Permalink
replace patchwork/utf8
Browse files Browse the repository at this point in the history
  • Loading branch information
MDevster committed Mar 14, 2022
1 parent 3acaeac commit 7ac5a5c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [1.8.2](https://github.com/contao-themes-net/nature-theme-bundle/tree/1.8.2) – 2022-03-09

- [fix] replace patchwork/utf8

## [1.8.1](https://github.com/contao-themes-net/nature-theme-bundle/tree/1.8.1) – 2022-03-09

- [fix] add support for Symfony 5 public entry point
Expand Down
2 changes: 1 addition & 1 deletion src/Module/NatureThemeSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class NatureThemeSetup extends \BackendModule
{
const VERSION = '1.8.1';
const VERSION = '1.8.2';

protected $strTemplate = 'be_naturetheme_setup';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</tr>
<tr>
<?php foreach ($this->days as $i => $day): ?>
<th class="label<?= $day['class'] ?>"><?= Patchwork\Utf8::substr($day['name'], 0, $this->substr) ?><span><?= Patchwork\Utf8::substr($day['name'], $this->substr) ?></span></th>
<th class="label<?= $day['class'] ?>"><?= mb_substr($day['name'], 0, $this->substr) ?><span><?= mb_substr($day['name'], $this->substr) ?></span></th>
<?php endforeach; ?>
</tr>
</thead>
Expand Down

0 comments on commit 7ac5a5c

Please sign in to comment.