fix 500 :
[Thu Nov 16 14:44:30.387531 2017] [:error] [pid 1123] [client 82.229.2.146:56843] exception 'ErrorException' with message 'Undefined offset: 1' in /home/www/bebeboutik.com/www/classes/PDF.php:552
This commit is contained in:
parent
150d86bc96
commit
039ec2b225
@ -549,7 +549,7 @@ class PDFCore extends PDF_PageGroupCore
|
||||
'company' => trim($mr_point['MR_Selected_LgAdr1']),
|
||||
'vat_number' => '',
|
||||
'address1' => trim($address_lines[0]),
|
||||
'address2' => trim($address_lines[1]),
|
||||
'address2' => isset($address_lines[1]) ? trim($address_lines[1]) : '',
|
||||
'postcode' => trim($mr_point['MR_Selected_CP']),
|
||||
'city' => trim($mr_point['MR_Selected_Ville']),
|
||||
'Country:name' => trim($mr_point['MR_Selected_Pays']),
|
||||
|
Loading…
Reference in New Issue
Block a user