]> wagnertech.de Git - mfinanz.git/blobdiff - SL/AP.pm
bugs die durch strict aufgedeckt wurden.
[mfinanz.git] / SL / AP.pm
index f5dd45ecef1a118976fc0765ce1e88ee8918043b..7b5a461505774eb22d762d7f5cfee586fdbdab42 100644 (file)
--- a/SL/AP.pm
+++ b/SL/AP.pm
@@ -475,7 +475,7 @@ sub ap_transactions {
   }
 
   my @a = qw(transdate invnumber name);
-  push @a, "employee" if $self->{l_employee};
+  push @a, "employee" if $form->{l_employee};
   my $sortdir   = !defined $form->{sortdir} ? 'ASC' : $form->{sortdir} ? 'ASC' : 'DESC';
   my $sortorder = join(', ', map { "$_ $sortdir" } @a);