From 25b0a7329494aebe8d420f3d63f4fdec88c29e0c Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sat, 16 Aug 2008 22:42:34 +0000 Subject: 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 --- LedgerSMB/PriceMatrix.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'LedgerSMB') 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; } -- cgit v1.2.3