Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
4.15 - PDFWOPrint.php Undefined Variable
11-08-2018, 11:31 AM,
#2
RE: 4.15 - PDFWOPrint.php Undefined Variable
Hmmm, sounds like there is nothing "Issued Already" (based on the handling between lines 301 to 309), so the array was never populated?

Anyway, try changing this: (line 289)
PHP Code:
if ($SelectedWO != 'Preview') { // It is a real order
    
$ErrMsg _('There was a problem retrieving the line details for order number') . ' ' $SelectedWO ' ' _('from the database'); 

...to this:
PHP Code:
if ($SelectedWO != 'Preview') { // It is a real order
    
$IssuedAlreadyRow = array(); // add this 
    
$ErrMsg _('There was a problem retrieving the line details for order number') . ' ' $SelectedWO ' ' _('from the database'); 

That will at least quell the error.
Reply


Messages In This Thread
RE: 4.15 - PDFWOPrint.php Undefined Variable - by TurboPT - 11-08-2018, 11:31 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)