[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 51/65: Correct Add category
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 51/65: Correct Add category |
Date: |
Wed, 09 Sep 2015 08:27:29 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 8eb932ce83df1341f35763e40c37b9a9af0cf284
Author: Dany De Bontridder <address@hidden>
Date: Sun Sep 6 07:16:44 2015 +0200
Correct Add category
---
html/ajax_card.php | 5 ++---
include/class_fiche_def.php | 1 -
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/html/ajax_card.php b/html/ajax_card.php
index 2bd0f8e..c33f2a9 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 6116061..9962fb7 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
*/
- [Noalyss-commit] [noalyss] 41/65: database upgrade, (continued)
- [Noalyss-commit] [noalyss] 41/65: database upgrade, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 47/65: avoid duplicate, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 45/65: database upgrade : if empty, skipped, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 46/65: drop view before recreating it, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 44/65: database upgrade, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 48/65: drop view before recreating it, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 49/65: translation, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 26/65: update translation, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 50/65: Fix SQL upgrade, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 52/65: translation, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 51/65: Correct Add category,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 32/65: translation, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 55/65: translation, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 58/65: translation, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 57/65: translation, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 60/65: Set properly the error log, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 54/65: translation + indent, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 61/65: Set properly the error log, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 62/65: Set properly the error log, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 63/65: Set properly the error log, Dany De Bontridder, 2015/09/09
- [Noalyss-commit] [noalyss] 59/65: set_reconcile : Not error when there is no checkbox to get, Dany De Bontridder, 2015/09/09