diff --git a/root/usr/share/smanager/themes/default/templates/partials/_vac_add.html.ep b/root/usr/share/smanager/themes/default/templates/partials/_vac_add.html.ep index 3a22a27..9bf665a 100644 --- a/root/usr/share/smanager/themes/default/templates/partials/_vac_add.html.ep +++ b/root/usr/share/smanager/themes/default/templates/partials/_vac_add.html.ep @@ -2,7 +2,7 @@ % my $btn = l('ADD'); - % if ($config->{debug} == 1) { + % if (config->{debug} == 1) {

%= dumper $c->current_route %= dumper $EmailVacation diff --git a/root/usr/share/smanager/themes/default/templates/uservacations.html.ep b/root/usr/share/smanager/themes/default/templates/uservacations.html.ep index 65dca52..faec6fd 100644 --- a/root/usr/share/smanager/themes/default/templates/uservacations.html.ep +++ b/root/usr/share/smanager/themes/default/templates/uservacations.html.ep @@ -3,7 +3,7 @@ % content_for 'module' => begin

- % if ($config->{debug} == 1) { + % if (config->{debug} == 0) {

%= dumper $c->current_route

diff --git a/smeserver-vacation.spec b/smeserver-vacation.spec index f69f78f..7493487 100644 --- a/smeserver-vacation.spec +++ b/smeserver-vacation.spec @@ -3,8 +3,8 @@ # Name: Stephen Noble %define name smeserver-vacation -%define version 1.1 -%define release 38 +%define version 11.0.0 +%define release 1 Summary: SME Server enhancement to enable vacation messages for users. Name: %{name} Version: %{version} @@ -30,6 +30,9 @@ Optionally provides a user-manager panel where users can enable vacation for themselves and to modify their own message %changelog +* Sat May 17 2025 Brian Read 11.0.0-1.sme +- Fix call to $config-> to config-> in default panel [SME: 12908] + * Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley 1.1-38.sme - Fix e-smith references in smeserver-vacation [SME: 12732]