* Tue Oct 14 2025 Brian Read <brianr@koozali.org> 11.1-14.sme

- fix [SME: ]
This commit is contained in:
2025-10-14 14:32:13 +01:00
parent 93395e10d9
commit b972c63405
3 changed files with 13 additions and 8 deletions

View File

@@ -16,8 +16,8 @@
Hour INT,
logData TEXT
);
CREATE USER $user@localhost IDENTIFIED BY '$pass';
GRANT SELECT, INSERT, UPDATE, DELETE ON $db.* TO $user@localhost;
CREATE USER {$user}@localhost IDENTIFIED BY '{$pass}';
GRANT SELECT, INSERT, UPDATE, DELETE ON $db.* TO {$user}@localhost;
FLUSH PRIVILEGES;
EOF
END

View File

@@ -236,6 +236,8 @@ sub do_display {
my $modul = "";
# Accessing all parameters
my %params = %{ $c->req->params->to_hash };
# Get number of parameters
@@ -244,10 +246,10 @@ sub do_display {
#Tag as Post or Get (ie. create new entry or edit existing one
my $is_new_record = ($c->req->method() eq 'POST');
#Params are available in the hash "params" - copy to the prefix_data hash
#while (my ($key, $value) = each %{$c->req->params->to_hash}) {
# $mst_data{$key} = $value;
#}
Params are available in the hash "params" - copy to the prefix_data hash
while (my ($key, $value) = each %{$c->req->params->to_hash}) {
$mst_data{$key} = $value;
}
# the value of trt will tell you which panel has returned
if (! $trt){

View File

@@ -6,7 +6,7 @@ Summary: Daily mail statistics for SME Server
%define name smeserver-mailstats
Name: %{name}
%define version 11.1
%define release 13
%define release 14
%define full_version %{version}.%{release})
Version: %{version}
Release: %{release}%{?dist}
@@ -88,6 +88,9 @@ chmod u+s /usr/bin/journalwrap
/sbin/ldconfig
%changelog
* Tue Oct 14 2025 Brian Read <brianr@koozali.org> 11.1-14.sme
- fix [SME: ]
* Mon Oct 06 2025 Brian Read <brianr@koozali.org> 11.1-13.sme
- Add UTF8 and avoid potential DB caching problems [SME: 13209]