summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-16 22:42:34 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-08-16 22:42:34 +0000
commit25b0a7329494aebe8d420f3d63f4fdec88c29e0c (patch)
tree4fe7078874649d3e9a9dc2442c8cfb7ca899ab18 /LedgerSMB
parent57617cdf31a98a34f46f717749b677a4e84f3868 (diff)
Committing patch 1928336, to transactions_foreign_key_fix.sql
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@2272 4979c152-3d1c-0410-bac9-87ea11338e46
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;
}