From 602bec8cb11c06cfaf9d6cca72298f8986998bc2 Mon Sep 17 00:00:00 2001 From: Brian Read Date: Sat, 17 May 2025 11:39:32 +0100 Subject: [PATCH] * Sat May 17 2025 Brian Read 11.0.0-1.sme - Fix call to $config-> to config-> in default panel [SME: 12908] --- .../themes/default/templates/partials/_vac_add.html.ep | 2 +- .../themes/default/templates/uservacations.html.ep | 2 +- smeserver-vacation.spec | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) 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]