diff --git a/html/ajax_card.php b/html/ajax_card.php
index 2bd0f8e1a..c33f2a945 100644
--- a/html/ajax_card.php
+++ b/html/ajax_card.php
@@ -517,8 +517,7 @@ case 'scc':
{
$script=create_script("removeDiv('$ctl')");
$html.=$script;
- if ( strlen(trim($_GET['nom_mod'])) != 0 &&
- strlen(trim($_GET['class_base'])) != 0 )
+ if ( strlen(trim($_GET['nom_mod'])) != 0 )
{
$array=array("FICHE_REF"=>$cat,
"nom_mod"=>$_GET['nom_mod'],
@@ -534,7 +533,7 @@ case 'scc':
}
else
{
- $script="alert_box('"._("Le nom et la classe base ne peuvent ĂȘtre vide")."')";
+ $script="alert_box('"._("Le nom ne peut pas ĂȘtre vide")."')";
$html.=create_script($script);
$invalid=1;
diff --git a/include/class_fiche_def.php b/include/class_fiche_def.php
index 611606168..9962fb7ba 100644
--- a/include/class_fiche_def.php
+++ b/include/class_fiche_def.php
@@ -197,7 +197,6 @@ $order
*/
function Add($array)
{
- var_dump($array);
/**
* Check needed info
*/