Fix phpcs
This commit is contained in:
parent
fef180cf86
commit
364fb05ed3
@ -1485,9 +1485,7 @@ class BonPrelevement extends CommonObject
|
||||
$i++;
|
||||
}
|
||||
$nbtotalDrctDbtTxInf = $i;
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
fputs($this->file, 'ERROR CREDITOR '.$sql.$CrLf); // CREDITORS = Suppliers
|
||||
$result = -2;
|
||||
}
|
||||
|
||||
@ -1246,7 +1246,7 @@ class CommandeFournisseur extends CommonOrder
|
||||
|
||||
// $date_commande is deprecated
|
||||
$date = ($this->date_commande ? $this->date_commande : $this->date); // in case of date is set
|
||||
if(empty($date)) $date = $now;
|
||||
if (empty($date)) $date = $now;
|
||||
|
||||
// Clean parameters
|
||||
if (empty($this->source)) $this->source = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user