Code comment
This commit is contained in:
parent
62177edab1
commit
8a079cf716
@ -353,7 +353,7 @@ class pdf_crabe extends ModelePDFFactures
|
|||||||
|
|
||||||
// Set certificate
|
// Set certificate
|
||||||
$cert = empty($user->conf->CERTIFICATE_CRT) ? '' : $user->conf->CERTIFICATE_CRT;
|
$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) {
|
if (!$cert) {
|
||||||
$cert = empty($conf->global->CERTIFICATE_CRT) ? '' : $conf->global->CERTIFICATE_CRT;
|
$cert = empty($conf->global->CERTIFICATE_CRT) ? '' : $conf->global->CERTIFICATE_CRT;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -369,7 +369,7 @@ class pdf_sponge extends ModelePDFFactures
|
|||||||
|
|
||||||
// Set certificate
|
// Set certificate
|
||||||
$cert = empty($user->conf->CERTIFICATE_CRT) ? '' : $user->conf->CERTIFICATE_CRT;
|
$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) {
|
if (!$cert) {
|
||||||
$cert = empty($conf->global->CERTIFICATE_CRT) ? '' : $conf->global->CERTIFICATE_CRT;
|
$cert = empty($conf->global->CERTIFICATE_CRT) ? '' : $conf->global->CERTIFICATE_CRT;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user