Skip to content
Snippets Groups Projects
Commit e22517b7 authored by Jakub Cegan's avatar Jakub Cegan
Browse files

Bug #987 - uprava formatovani reportu

 * pridana hlavicka tabulky v emailu
 * zmenen oddelovac z , na |
parent 008ab67b
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,6 @@ sub update_procedures{
return (1);
}
sub send_query{
my $dbhRef = shift;
......@@ -158,9 +157,10 @@ sub send_query{
}
if($msg_text){
$bad_events{$contact} .= $config[$i]{text} . "\n\n";
$bad_events{$contact} .= join(" | ", map {$_ // "UNKNOWN" } keys %$result) . "\n";
$msg_text = 0;
}
$bad_events{$contact} .= join(", ", map { $_ // "NULL" } values %$result) . "\n";
$bad_events{$contact} .= join(" | ", map {$_ // "NULL" } values %$result) . "\n";
}
foreach my $key (keys %bad_events){
$bad_events{$key} .= "\n\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment