mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 00:53:00 +01:00
FIX - php V8 pdf lib
This commit is contained in:
@@ -453,7 +453,7 @@ function pdf_build_address($outputlangs, $sourcecompany, $targetcompany = '', $t
|
||||
if (empty($reshook)) {
|
||||
if ($mode == 'source') {
|
||||
$withCountry = 0;
|
||||
if (!empty($sourcecompany->country_code) && ($targetcompany->country_code != $sourcecompany->country_code)) {
|
||||
if (isset($targetcompany->country_code) && !empty($sourcecompany->country_code) && ($targetcompany->country_code != $sourcecompany->country_code)) {
|
||||
$withCountry = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user