Ajout code de retour
This commit is contained in:
parent
301808ff19
commit
e929a2d9ae
@ -133,13 +133,13 @@ class Product
|
|||||||
$this->label_url = '<a href="'.DOL_URL_ROOT.'/product/fiche.php3?id='.$this->id.'">'.$this->label.'</a>';
|
$this->label_url = '<a href="'.DOL_URL_ROOT.'/product/fiche.php3?id='.$this->id.'">'.$this->label.'</a>';
|
||||||
|
|
||||||
$this->db->free();
|
$this->db->free();
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print $this->db->error();
|
print $this->db->error();
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $result;
|
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user