update code towards php8 compliance
This commit is contained in:
parent
97c20aa1c8
commit
6dea9332d1
@ -217,8 +217,8 @@ class pdf_cyan extends ModelePDFPropales
|
||||
$outputlangs->loadLangs(array("main", "dict", "companies", "bills", "products", "propal"));
|
||||
|
||||
// Show Draft Watermark
|
||||
if ($object->statut == $object::STATUS_DRAFT && (!empty($conf->global->PROPALE_DRAFT_WATERMARK))) {
|
||||
$this->watermark = $conf->global->PROPALE_DRAFT_WATERMARK;
|
||||
if ($object->statut == $object::STATUS_DRAFT && getDolGlobalString('PROPALE_DRAFT_WATERMARK')) {
|
||||
$this->watermark = getDolGlobalString('PROPALE_DRAFT_WATERMARK');
|
||||
}
|
||||
|
||||
global $outputlangsbis;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user