diff --git a/root/usr/share/smanager/themes/default/templates/fail2ban.html.ep b/root/usr/share/smanager/themes/default/templates/fail2ban.html.ep index d271dac..fc6d331 100644 --- a/root/usr/share/smanager/themes/default/templates/fail2ban.html.ep +++ b/root/usr/share/smanager/themes/default/templates/fail2ban.html.ep @@ -4,7 +4,7 @@
- %if ($config->{debug} == 1) { + %if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $f2b_datas diff --git a/root/usr/share/smanager/themes/default/templates/partials/_f2b_blocked.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_f2b_blocked.html.ep index ecd98f4..852dc64 100644 --- a/root/usr/share/smanager/themes/default/templates/partials/_f2b_blocked.html.ep +++ b/root/usr/share/smanager/themes/default/templates/partials/_f2b_blocked.html.ep @@ -6,7 +6,7 @@

% my @denys = @{$c->get_current_deny()}; - % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

<%= dumper @denys %>

% } diff --git a/smeserver-fail2ban.spec b/smeserver-fail2ban.spec index ca64e02..34920b8 100644 --- a/smeserver-fail2ban.spec +++ b/smeserver-fail2ban.spec @@ -1,5 +1,5 @@ %define version 0.1.18 -%define release 34 +%define release 35 %define name smeserver-fail2ban Summary: fail2ban integration on SME Server @@ -26,6 +26,9 @@ AutoReqProv: no Configure fail2ban on SME Server %changelog +* Tue Sep 23 2025 Brian Read 0.1.18-35.sme +- Change $config to config in layout file(s) [SME: 13171] + * Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley 0.1.18-34.sme - Fix e-smith references in smeserver-fail2ban [SME: 12732]