From 1bb0b05b21b23425803a2f9acb18ab36e17cad49 Mon Sep 17 00:00:00 2001 From: Peter Dulacka Date: Thu, 26 May 2022 14:03:15 +0200 Subject: [PATCH] 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) --- src/templates/UsersAdmin/default.latte | 2 +- src/templates/UsersAdmin/show.latte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/templates/UsersAdmin/default.latte b/src/templates/UsersAdmin/default.latte index f4d166c..2eed1a8 100644 --- a/src/templates/UsersAdmin/default.latte +++ b/src/templates/UsersAdmin/default.latte @@ -73,7 +73,7 @@ {$u->source} - {$u->active|activelabel|noescape} + {$u->active|activeLabel|noescape} diff --git a/src/templates/UsersAdmin/show.latte b/src/templates/UsersAdmin/show.latte index f9848cd..52fd455 100644 --- a/src/templates/UsersAdmin/show.latte +++ b/src/templates/UsersAdmin/show.latte @@ -98,7 +98,7 @@
  • - {_users.admin.show.active}: {$user->active|activelabel|noescape} + {_users.admin.show.active}: {$user->active|activeLabel|noescape} {if $user->active} {_users.admin.show.deactivate} {else}