summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rw-r--r--LedgerSMB/PriceMatrix.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/LedgerSMB/PriceMatrix.pm b/LedgerSMB/PriceMatrix.pm
index f4482164..2af812bd 100644
--- a/LedgerSMB/PriceMatrix.pm
+++ b/LedgerSMB/PriceMatrix.pm
@@ -122,8 +122,7 @@ sub price_matrix {
} elsif ( $form->{vendor_id} ) {
$pmh->execute( $ref->{id} );
} else {
- $form->debug();
- $form->error();
+ $form->error('Access Denied');
return;
}