[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 11/26: Fix Bug Cannot create new category of
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 11/26: Fix Bug Cannot create new category of cards |
Date: |
Wed, 25 Sep 2024 06:44:49 -0400 (EDT) |
sparkyx pushed a commit to branch pre-stable
in repository noalyss.
commit 83c343ef94c906cc0d0125bbad39d20174dfc683
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Sep 21 13:20:02 2024 +0200
Fix Bug Cannot create new category of cards
---
include/class/template_card_category.class.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/class/template_card_category.class.php
b/include/class/template_card_category.class.php
index 7afa86637..643cd8acc 100644
--- a/include/class/template_card_category.class.php
+++ b/include/class/template_card_category.class.php
@@ -209,9 +209,9 @@ EOF;
{
$cn=Dossier::connect();
$frd_id=$this->get_table()->getp("frd_id");
- $cn->exec_sql("insert into attr_min (frd_id,ad_id,ad_default_order)
values ($1,$2)",
- [$frd_id, ATTR_DEF_NAME],1);
- $cn->exec_sql("insert into attr_min (frd_id,ad_id) values ($1,$2)",
+ $cn->exec_sql("insert into attr_min (frd_id,ad_id,ad_default_order)
values ($1,$2,$3)",
+ [$frd_id, ATTR_DEF_NAME,1]);
+ $cn->exec_sql("insert into attr_min (frd_id,ad_id,ad_default_order)
values ($1,$2,$3)",
[$frd_id, ATTR_DEF_QUICKCODE,10000]);
}
- [Noalyss-commit] [noalyss] 07/26: color, (continued)
- [Noalyss-commit] [noalyss] 07/26: color, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 16/26: MOD2 : update, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 25/26: nav-level2.active and nav-level3 active: border color, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 20/26: VAT warning : update the VAT CODE, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 17/26: Cosmetic menu, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 02/26: css : Cosmetic add CSS h-section, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 05/26: Change color border, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 03/26: Cosmetic : animate bar menu, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 04/26: Cosmetic : menu and module , animate, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 08/26: Cosmetic, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 11/26: Fix Bug Cannot create new category of cards,
dwm <=
- [Noalyss-commit] [noalyss] 13/26: Bug : warning for ledger C0JRN when no category card is checked, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 12/26: Cosmetic, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 14/26: Update MOD1, Belgian template add VAT, document, ..., dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 15/26: PHP Install check if curl present, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 18/26: SALE : by default invoice not checked, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 21/26: INSTALL: template must always use its own db structure, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 22/26: MOD1: setting base TVA, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 23/26: MOD2 : remove schema, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 24/26: Cosmetic : remove border, dwm, 2024/09/25
- [Noalyss-commit] [noalyss] 26/26: REVERT 9bc780c62 SALE : by default invoice not checked, dwm, 2024/09/25