From f1382876294d034a354c5d3404b7c028f7dca990 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 20 Feb 2006 18:47:22 +0000 Subject: [PATCH] bugfix --- htdocs/categories/categorie.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/categories/categorie.class.php b/htdocs/categories/categorie.class.php index 62c75e67996..c7572ee9f86 100644 --- a/htdocs/categories/categorie.class.php +++ b/htdocs/categories/categorie.class.php @@ -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";