2
0
forked from Wavyzz/dolibarr

Refactoring and fix

This commit is contained in:
atm-ph
2017-03-25 18:13:39 +01:00
parent e3afa06cf3
commit fce8e08b51
6 changed files with 83 additions and 87 deletions

View File

@@ -517,7 +517,7 @@ class CoreObject extends CommonObject
$this->db->begin();
$query = $this->set_save_query();
$query['datec'] = date("Y-m-d H:i:s", $this->datec);
$query['datec'] = date("Y-m-d H:i:s", dol_now());
$res = $this->db->insert($this->table_element, $query);
if($res)