fix:incoterm bad sql request
This commit is contained in:
parent
10bfb76ae9
commit
92bfd6893d
@ -122,7 +122,7 @@ trait CommonIncoterm
|
|||||||
$this->fk_incoterms = $id_incoterm;
|
$this->fk_incoterms = $id_incoterm;
|
||||||
$this->location_incoterms = $location;
|
$this->location_incoterms = $location;
|
||||||
|
|
||||||
$sql = 'SELECT libelle as label_incotermsFROM '.MAIN_DB_PREFIX.'c_incoterms WHERE rowid = '.(int) $this->fk_incoterms;
|
$sql = 'SELECT libelle as label_incoterms FROM '.MAIN_DB_PREFIX.'c_incoterms WHERE rowid = '.(int) $this->fk_incoterms;
|
||||||
$res = $this->db->query($sql);
|
$res = $this->db->query($sql);
|
||||||
if ($res)
|
if ($res)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user