From 7add131124da8d8edc93afce00a7c424b83850f3 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Thu, 7 Feb 2019 10:49:31 +0100 Subject: [PATCH] Fix bug : SQL Error in fiche.inc.php due to merge --- include/class/fiche.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php index 21f39d3a4..647b19b95 100644 --- a/include/class/fiche.class.php +++ b/include/class/fiche.class.php @@ -2004,7 +2004,7 @@ class Fiche [$this->id]); if ( $count > 0 ) return TRUE; - $count=$this->cn->get_value("select count(*) + $count=$this->cn->get_value(" select count(*) from attr_def join fiche_detail using (ad_id)