X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fam.pl;h=8f380aa20238e34b61d311c3e4fafd3ed32d2aba;hb=61ab3c630bf655d54cb44f70f871eed5879f9693;hp=684632679f8d34cd0d22d0ce5d63c92a587e67a3;hpb=c6d9d294865964edb58d06a982ea42b4f2a50518;p=kivitendo-erp.git diff --git a/bin/mozilla/am.pl b/bin/mozilla/am.pl index 684632679..8f380aa20 100644 --- a/bin/mozilla/am.pl +++ b/bin/mozilla/am.pl @@ -2508,7 +2508,6 @@ sub config { %countrycodes = User->country_codes; - $countrycodes{""} = "American English"; $form->{COUNTRYCODES} = []; foreach $countrycode (sort { $countrycodes{$a} cmp $countrycodes{$b} } keys %countrycodes) { push @{ $form->{COUNTRYCODES} }, { @@ -2856,7 +2855,7 @@ sub show_am_history { ( $form->{'searchid'} ? qq| WHERE snumbers = '| . $searchNo{$form->{'what2search'}} . qq|_| . $form->{'searchid'} . qq|'| : qq| WHERE snumbers ~ '^| . $searchNo{$form->{'what2search'}} . qq|'|); - my @ids = selectall_array_query($form, $dbh, $query); + my @ids = grep { $_ * 1 } selectall_array_query($form, $dbh, $query); my $daten .= shift @ids; $daten .= join '', map { " OR trans_id = $_" } @ids;