Skip to content

Commit

Permalink
Bump dependencies, fix addFilter deprecation for filter loader
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
rootpd committed Jul 29, 2022
1 parent 4310535 commit 1bb0b05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/templates/UsersAdmin/default.latte
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
</td>
<td class="text-muted">{$u->source}</td>
<td>
{$u->active|activelabel|noescape}
{$u->active|activeLabel|noescape}
</td>
<td>
<span class="text-muted">
Expand Down
2 changes: 1 addition & 1 deletion src/templates/UsersAdmin/show.latte
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
</span>
</li>
<li class="list-group-item">
<b>{_users.admin.show.active}:</b> {$user->active|activelabel|noescape}
<b>{_users.admin.show.active}:</b> {$user->active|activeLabel|noescape}
{if $user->active}
<a n:href="ChangeActivation! $user->id" class="btn btn-warning btn-xs"><i class="fa fa-ban"></i> {_users.admin.show.deactivate}</a>
{else}
Expand Down

0 comments on commit 1bb0b05

Please sign in to comment.