mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Clean code
This commit is contained in:
parent
c45adc4e96
commit
09ba5162e7
|
|
@ -339,7 +339,7 @@ class DiscountAbsolute extends CommonObject
|
|||
include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
|
||||
$tmpinvoice = new Facture($this->db);
|
||||
$tmpinvoice->fetch($this->fk_facture_source);
|
||||
$userid = $tmpinvoice->fk_user_author; // We use the author of invoice
|
||||
$userid = $tmpinvoice->user_creation_id; // We use the author of invoice
|
||||
}
|
||||
|
||||
// Insert request
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user