This commit is contained in:
Regis Houssin 2006-02-20 18:47:22 +00:00
parent bd52659e4a
commit f138287629

View File

@ -457,7 +457,7 @@ class Categorie
/**
* Vérifie si une catégorie porte le label $label
*/
function already_exists($label, $catmere)
function already_exists($label, $catmere=0)
{
$sql = "SELECT count(c.rowid)";
$sql.= " FROM ".MAIN_DB_PREFIX."categorie as c, ".MAIN_DB_PREFIX."categorie_association as ca";