Code comment
This commit is contained in:
parent
62177edab1
commit
8a079cf716
2 changed files with 2 additions and 2 deletions
|
|
@ -353,7 +353,7 @@ class pdf_crabe extends ModelePDFFactures
|
|||
|
||||
// Set certificate
|
||||
$cert = empty($user->conf->CERTIFICATE_CRT) ? '' : $user->conf->CERTIFICATE_CRT;
|
||||
// If use has no certificate, we try to take the company one
|
||||
// If user has no certificate, we try to take the company one
|
||||
if (!$cert) {
|
||||
$cert = empty($conf->global->CERTIFICATE_CRT) ? '' : $conf->global->CERTIFICATE_CRT;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -369,7 +369,7 @@ class pdf_sponge extends ModelePDFFactures
|
|||
|
||||
// Set certificate
|
||||
$cert = empty($user->conf->CERTIFICATE_CRT) ? '' : $user->conf->CERTIFICATE_CRT;
|
||||
// If use has no certificate, we try to take the company one
|
||||
// If user has no certificate, we try to take the company one
|
||||
if (!$cert) {
|
||||
$cert = empty($conf->global->CERTIFICATE_CRT) ? '' : $conf->global->CERTIFICATE_CRT;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue