Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit is contained in:
parent
43c48727e2
commit
d021559b16
@ -34,7 +34,6 @@ if (!class_exists('FormCompany')) {
|
|||||||
* Classe permettant la generation du formulaire d'un nouveau ticket.
|
* Classe permettant la generation du formulaire d'un nouveau ticket.
|
||||||
*
|
*
|
||||||
* @package Ticket
|
* @package Ticket
|
||||||
|
|
||||||
* \remarks Utilisation: $formticket = new FormTicket($db)
|
* \remarks Utilisation: $formticket = new FormTicket($db)
|
||||||
* \remarks $formticket->proprietes=1 ou chaine ou tableau de valeurs
|
* \remarks $formticket->proprietes=1 ou chaine ou tableau de valeurs
|
||||||
* \remarks $formticket->show_form() affiche le formulaire
|
* \remarks $formticket->show_form() affiche le formulaire
|
||||||
|
|||||||
@ -376,7 +376,7 @@ class pdf_sponge extends ModelePDFFactures
|
|||||||
if (!empty($conf->global->MAIN_DISABLE_PDF_COMPRESSION)) $pdf->SetCompression(false);
|
if (!empty($conf->global->MAIN_DISABLE_PDF_COMPRESSION)) $pdf->SetCompression(false);
|
||||||
|
|
||||||
// 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 use 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;
|
||||||
|
|||||||
@ -102,7 +102,7 @@ if ($rss) {
|
|||||||
$MAXNEWS = 20;
|
$MAXNEWS = 20;
|
||||||
$arrayofblogs = $websitepage->fetchAll($website->id, 'DESC', 'date_creation', $MAXNEWS, 0, $filters);
|
$arrayofblogs = $websitepage->fetchAll($website->id, 'DESC', 'date_creation', $MAXNEWS, 0, $filters);
|
||||||
$eventarray = array();
|
$eventarray = array();
|
||||||
foreach($arrayofblogs as $blog) {
|
foreach ($arrayofblogs as $blog) {
|
||||||
$blog->fullpageurl = $website->virtualhost.'/'.$blog->pageurl.'.php';
|
$blog->fullpageurl = $website->virtualhost.'/'.$blog->pageurl.'.php';
|
||||||
$eventarray[] = $blog;
|
$eventarray[] = $blog;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user