Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
d270a1a64b
@ -1762,7 +1762,7 @@ class FactureFournisseurRec extends CommonInvoice
|
||||
$sql = 'UPDATE '.MAIN_DB_PREFIX.$this->table_element;
|
||||
$sql .= ' SET frequency = '.($frequency ? $this->db->escape($frequency) : 'null');
|
||||
if (!empty($unit)) {
|
||||
$sql .= ', unit_frequency = '.$this->db->escape($unit);
|
||||
$sql .= ', unit_frequency = \''.$this->db->escape($unit).'\'';
|
||||
}
|
||||
$sql .= ' WHERE rowid = ' . (int) $this->id;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user