FIX : for php8 compliance
This commit is contained in:
parent
7baf98dbfa
commit
f88fdbe71d
@ -77,6 +77,11 @@ class modFicheinter extends DolibarrModules
|
||||
$this->const = array();
|
||||
$r = 0;
|
||||
|
||||
if (!isset($conf->ficheinter) || !isset($conf->ficheinter->enabled)) {
|
||||
$conf->ficheinter = new stdClass();
|
||||
$conf->ficheinter->enabled = 0;
|
||||
}
|
||||
|
||||
$this->const[$r][0] = "FICHEINTER_ADDON_PDF";
|
||||
$this->const[$r][1] = "chaine";
|
||||
$this->const[$r][2] = "soleil";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user