[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Access Denied on "Add Time Card" in 1.2.15



On Thu, 28 Aug 2008 20:53:33 -0700, Angus Jordan wrote:
> Will this be resolved before 1.2.16? This is a pretty big issue for us
> as we use pricematrix and time cards quite heavily...
> 
> Is there a patch currently available that calls the pricematrix logic
> correctly? Or is the fix in branches/1.2 OK to use in production?

It was a one-line fix by Seneca and Chris, already committed to SVN r2304:

$ svn diff -c 2304 
Index: LedgerSMB/PriceMatrix.pm
===================================================================
--- LedgerSMB/PriceMatrix.pm	(revision 2303)
+++ LedgerSMB/PriceMatrix.pm	(revision 2304)
@@ -122,7 +122,6 @@
     } elsif ( $form->{vendor_id} ) {
         $pmh->execute( $ref->{id} );
     } else {
-        $form->error('Access Denied');
         return;
     }