Added patch
This commit is contained in:
parent
9e74308131
commit
4ef84bcf06
@ -206,9 +206,7 @@ class Osc_product
|
|||||||
|
|
||||||
if ($mycat->fetch_osccat($osccatid) > 0)
|
if ($mycat->fetch_osccat($osccatid) > 0)
|
||||||
{
|
{
|
||||||
$x = $mycat->dolicatid;
|
return $mycat->dolicatid;
|
||||||
print'<p>'.$x.'</p>';
|
|
||||||
return $x ;
|
|
||||||
}
|
}
|
||||||
else return 0;
|
else return 0;
|
||||||
}
|
}
|
||||||
@ -225,20 +223,6 @@ class Osc_product
|
|||||||
else return -1;
|
else return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_catid($osccatid)
|
|
||||||
{
|
|
||||||
require_once("./osc_categories.class.php");
|
|
||||||
$mycat=new Osc_categorie($this->db);
|
|
||||||
|
|
||||||
if ($mycat->fetch_osccat($osccatid) > 0)
|
|
||||||
{
|
|
||||||
$x = $mycat->dolicatid;
|
|
||||||
print'<p>'.$x.'</p>';
|
|
||||||
return $x ;
|
|
||||||
}
|
|
||||||
else return 0;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief création d'un article dans base OSC
|
* \brief création d'un article dans base OSC
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user