mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix scrutinizer
This commit is contained in:
parent
7e855eac52
commit
59816ce171
|
|
@ -3060,7 +3060,7 @@ class FactureFournisseur extends CommonInvoice
|
|||
// Clear fields
|
||||
$object->ref_supplier = (empty($this->ref_supplier) ? $langs->trans("CopyOf").' '.$object->ref_supplier : $this->ref_supplier);
|
||||
$object->author = $user->id;
|
||||
$object->user_valid = '';
|
||||
$object->user_valid = 0;
|
||||
$object->fk_facture_source = 0;
|
||||
$object->date_creation = '';
|
||||
$object->date_validation = '';
|
||||
|
|
|
|||
|
|
@ -1149,8 +1149,10 @@ class SupplierProposal extends CommonObject
|
|||
}
|
||||
|
||||
// Clear fields
|
||||
$this->user_author = $user->id;
|
||||
$this->user_valid = '';
|
||||
$this->user_author = $user->id; // deprecated
|
||||
$this->user_author_id = $user->id;
|
||||
$this->user_valid = 0; // deprecated
|
||||
$this->user_valid_id = 0;
|
||||
$this->date = $now;
|
||||
|
||||
// Set ref
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user