[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 40/323: Category of card : cannot be removed
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 40/323: Category of card : cannot be removed due to FK in attr_min |
Date: |
Wed, 14 Mar 2018 17:38:14 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 85b2339fb7628056adbc33aaf8c885482906b1d2
Author: Dany De Bontridder <address@hidden>
Date: Wed Jan 10 09:16:52 2018 +0100
Category of card : cannot be removed due to FK in attr_min
---
include/class/template_card_category.class.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/class/template_card_category.class.php
b/include/class/template_card_category.class.php
index afaaf49..fbd9c05 100644
--- a/include/class/template_card_category.class.php
+++ b/include/class/template_card_category.class.php
@@ -56,6 +56,7 @@ class Template_Card_Category extends Manage_Table_SQL
{
throw new Exception(_("Effacement impossible : catégorie
utilisée"));
}
+ $cn->exec_sql("delete from attr_min where
frd_id=$1",[$this->table->frd_id]);
$this->table->delete();
}
- [Noalyss-commit] [noalyss] 32/323: documentation, (continued)
- [Noalyss-commit] [noalyss] 32/323: documentation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 30/323: Task #1326 & #1512 = ajout détail extourne, libellé, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 39/323: Bug : profile_id was missing, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 35/323: Bug in Manage_Table_SQL when an exception is thrown from ajax_input, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 44/323: Misplacing of box due to a change in the id name, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 37/323: Task #1518:Modèle de Catégorie de fiche : ajout sécurité + attribut minimum, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 31/323: documentation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 33/323: documentation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 36/323: Bug in Manage_Table_SQL when an exception is thrown from ajax_input, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 41/323: Category of card : dialog box too large for screen cannot be viewed, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 40/323: Category of card : cannot be removed due to FK in attr_min,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 42/323: Manage_Table dialog box draggable, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 46/323: Mix between odd and even row, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 23/323: Task #1485 : by default the dialog box are fixed but can be moved, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 51/323: 0001523: Dans HISTO , Operation History (HISTO) , tiers is clickable, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 50/323: task #0001513: Détail fiche : ajout bouton effacer, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 49/323: Tak #1522 : Journaux peuvent être inactif, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 38/323: Task #1518 : ajout de modèle de catégorie de fiche Modification des attributs minimums, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 34/323: Rewriting Module Template Category of card, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 53/323: Bug : search cannot select ledger, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 47/323: Task #0001519: Assouplissement de la sécurité : Administrateur accès à tout, ajout d'utilisateur par défaut securité désactivée, Dany De Bontridder, 2018/03/14