Fix phpcs

This commit is contained in:
Laurent Destailleur 2020-12-12 16:35:30 +01:00
parent 5f476e7e7e
commit b452852b30

View File

@ -100,7 +100,6 @@ class box_scheduled_jobs extends ModeleBoxes
$objp = $this->db->fetch_object($result); $objp = $this->db->fetch_object($result);
if (dol_eval($objp->test, 1, 1)) { if (dol_eval($objp->test, 1, 1)) {
$nextrun = $this->db->jdate($objp->datenextrun); $nextrun = $this->db->jdate($objp->datenextrun);
if (empty($nextrun)) $nextrun = $this->db->jdate($objp->datestart); if (empty($nextrun)) $nextrun = $this->db->jdate($objp->datestart);
@ -140,7 +139,7 @@ class box_scheduled_jobs extends ModeleBoxes
); );
} }
foreach($resultarray as $line => $value) { foreach ($resultarray as $line => $value) {
$this->info_box_contents[$line][] = array( $this->info_box_contents[$line][] = array(
'td' => 'class="left"', 'td' => 'class="left"',
'text' => $resultarray[$line][0] 'text' => $resultarray[$line][0]