X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/40b16805562b0bf57d5a5c66c194a9d6cfc855ef..727d806576b6eed75107dbf52736c3dd08093004:/SL/AR.pm diff --git a/SL/AR.pm b/SL/AR.pm index d97c443d1..ca3f61a26 100644 --- a/SL/AR.pm +++ b/SL/AR.pm @@ -516,7 +516,7 @@ sub ar_transactions { my $where = "1 = 1"; - unless ( $main::auth->check_right($form->{login}, 'show_ar_transactions') ) { + unless ( $::auth->assert('show_ar_transactions', 1) ) { $where .= " AND NOT invoice = 'f' "; # remove ar transactions from Sales -> Reports -> Invoices };