Update tva.class.php

This commit is contained in:
Laurent Destailleur 2022-09-28 20:33:57 +02:00 committed by GitHub
parent 45be6ab024
commit 825a1dbf3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -345,8 +345,8 @@ class Tva extends CommonObject
$this->fk_user_creat = $obj->fk_user_creat;
$this->fk_user_modif = $obj->fk_user_modif;
$this->fk_account = $obj->fk_account;
$this->fk_type = !empty($obj->fk_type) ? $obj->fk_type : "";
$this->rappro = !empty($obj->fk_type) ? $obj->rappro : "";
$this->fk_type = empty($obj->fk_type) ? "" : $obj->fk_type;
$this->rappro = empty($obj->rappro) ? "" : $obj->rappro;
}
$this->db->free($resql);