Skip to content

Commit 1bb0b05

Browse files
committed
Bump dependencies, fix addFilter deprecation for filter loader
By using addFilterLoader the FilterLoader class shoulnd't try to evaluate the filter. Instead, it should just return the callback and let Latte to evaluate it itself. Hence the change. (cherry picked from commit 7b23d522c4b06a1aa8007cb1a759279e3d4d3707)
1 parent 4310535 commit 1bb0b05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/templates/UsersAdmin/default.latte

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
</td>
7474
<td class="text-muted">{$u->source}</td>
7575
<td>
76-
{$u->active|activelabel|noescape}
76+
{$u->active|activeLabel|noescape}
7777
</td>
7878
<td>
7979
<span class="text-muted">

src/templates/UsersAdmin/show.latte

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
</span>
9999
</li>
100100
<li class="list-group-item">
101-
<b>{_users.admin.show.active}:</b> {$user->active|activelabel|noescape}
101+
<b>{_users.admin.show.active}:</b> {$user->active|activeLabel|noescape}
102102
{if $user->active}
103103
<a n:href="ChangeActivation! $user->id" class="btn btn-warning btn-xs"><i class="fa fa-ban"></i> {_users.admin.show.deactivate}</a>
104104
{else}

0 commit comments

Comments
 (0)