Document : generate document with VAT code or VAT id
This commit is contained in:
parent
717707adc4
commit
bfc2fb3f9d
1 changed files with 2 additions and 2 deletions
|
|
@ -1778,8 +1778,8 @@ class Document
|
|||
|
||||
$this->db->exec_sql($sql, array($this->d_lob, $this->d_filename, $this->d_mimetype, $p_internal));
|
||||
// clean the table document
|
||||
$sql='delete from document where d_id='.$this->d_id;
|
||||
$this->db->exec_sql($sql);
|
||||
$sql='delete from document where d_id=$1';
|
||||
$this->db->exec_sql($sql,[$this->d_id]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue