debug
This commit is contained in:
parent
fedaa74ce8
commit
7edf4b6928
@ -153,6 +153,16 @@ class Categorie
|
|||||||
*/
|
*/
|
||||||
function update()
|
function update()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
$sql = 'delete from '.MAIN_DB_PREFIX.'categorie_association';
|
||||||
|
$sql .= ' WHERE fk_categorie_fille = "'.$this->id.'"';
|
||||||
|
|
||||||
|
if (! $this->db->query($sql))
|
||||||
|
{
|
||||||
|
dolibarr_print_error($this->db);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if($this->id_mere !="" && $this->id_mere!=$this->id)
|
if($this->id_mere !="" && $this->id_mere!=$this->id)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user