X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fam.pl;h=3b47b8eac169c7d1de7c3e6d6c132309ad62abae;hb=2d6988532a665bd7e42bb88a38a8b52cbb352646;hp=77d8878ffdb1e7390b41a6e548830a8468eabded;hpb=a200453a04fc89fdf02dbe39e1d951cb1b55191c;p=kivitendo-erp.git diff --git a/bin/mozilla/am.pl b/bin/mozilla/am.pl index 77d8878ff..3b47b8eac 100644 --- a/bin/mozilla/am.pl +++ b/bin/mozilla/am.pl @@ -3071,7 +3071,6 @@ sub show_am_history { : "" ) ); - my $dbh = $form->dbconnect(\%myconfig); my $searchSNumber = $searchNo{$form->{'what2search'}} . qq|_| . $form->{'searchid'}; $restriction .= ($form->{mitarbeiter} eq "" ? "" @@ -3095,7 +3094,7 @@ sub show_am_history { $form->header(); my $daten = ""; while(my $hash_ref = $sth->fetchrow_hashref()){ - $daten = $form->get_history($dbh,$hash_ref->{id},$restriction); + $daten = $form->get_history($dbh,$hash_ref->{id},$restriction,$form->{order}); } $dbh->disconnect(); print $form->parse_html_template("/common/show_history",