[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 08/17: SQL protect
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 08/17: SQL protect |
Date: |
Tue, 16 May 2023 14:50:12 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 07ca4dd6b49cb809d3a6c6976a32110902a40c18
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Apr 30 18:10:06 2023 +0200
SQL protect
---
include/class/follow_up.class.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/class/follow_up.class.php
b/include/class/follow_up.class.php
index 7e85ad42f..b1881ebb8 100644
--- a/include/class/follow_up.class.php
+++ b/include/class/follow_up.class.php
@@ -427,8 +427,8 @@ class Follow_Up
$aDocMod->name='doc_mod';
$aDocMod->value=$this->db->make_array('select md_id,dt_value||\' :
\'||md_name as md_name'.
' from document_modele join document_type on (md_type=dt_id)'.
- " where md_affect ='GES' and md_type = ".$this->dt_id.
- ' order by md_name');
+ " where md_affect ='GES' and md_type = $1 ".
+ ' order by md_name',0,[$this->dt_id]);
$str_select_doc=$aDocMod->input();
/* if no document then do not show the generate button */
if (empty($aDocMod->value))
- [Noalyss-commit] [noalyss] branch master updated (b880126dd -> 596bc85fd), Dany De Bontridder, 2023/05/16
- [Noalyss-commit] [noalyss] 12/17: Bug #2259: MENU GESTION - opéations non prises en compte selon exercice sélectionné dans «Préférences», Dany De Bontridder, 2023/05/16
- [Noalyss-commit] [noalyss] 08/17: SQL protect,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 05/17: Merge branch 'devel' into dev9101, Dany De Bontridder, 2023/05/16
- [Noalyss-commit] [noalyss] 15/17: Fix bug : background color not set for head on small screens, Dany De Bontridder, 2023/05/16
- [Noalyss-commit] [noalyss] 01/17: Cosmetic, Dany De Bontridder, 2023/05/16
- [Noalyss-commit] [noalyss] 13/17: missing file, Dany De Bontridder, 2023/05/16
- [Noalyss-commit] [noalyss] 03/17: Task #2257:improve Détail Action dans le tableau de bord , mise à jour, Dany De Bontridder, 2023/05/16
- [Noalyss-commit] [noalyss] 07/17: remove dead code, Dany De Bontridder, 2023/05/16
- [Noalyss-commit] [noalyss] 06/17: Document Template, Dany De Bontridder, 2023/05/16
- [Noalyss-commit] [noalyss] 11/17: remove dead code, Dany De Bontridder, 2023/05/16
- [Noalyss-commit] [noalyss] 10/17: Bug#2271: Banque : totaux non vérifié, Dany De Bontridder, 2023/05/16
- [Noalyss-commit] [noalyss] 02/17: Code Documentation, Dany De Bontridder, 2023/05/16