Fix bug : for new TVA id not taken into account but auto-computed
This commit is contained in:
parent
0ad83ac24b
commit
a76d9d1162
2 changed files with 11 additions and 8 deletions
|
|
@ -112,7 +112,7 @@ abstract class Data_SQL
|
|||
$this->$key=null;
|
||||
}
|
||||
$this->$pk=$p_id;
|
||||
/* load it */
|
||||
/* load it , if the pk id doesn't exist, it will be turned into -1 */
|
||||
if ($p_id != -1 )$this->load();
|
||||
if ( empty($this->date_format) ) $this->date_format="DD.MM.YYYY";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue