noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 80/323: before deleting a card , check if it


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 80/323: before deleting a card , check if it is not used as an attribute in another card
Date: Wed, 14 Mar 2018 17:38:27 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 5794634ea02d7a98ce49246ac0363aa1fda1e6f4
Author: Dany De Bontridder <address@hidden>
Date:   Wed Jan 24 19:08:09 2018 +0100

    before deleting a card , check if it is not used as an attribute in
    another card
---
 include/class/fiche.class.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php
index ecc0b57..1da11c7 100644
--- a/include/class/fiche.class.php
+++ b/include/class/fiche.class.php
@@ -1985,7 +1985,6 @@ class Fiche
         if ( $count > 0 ) return TRUE;
         
         $count=$this->cn->get_value("select count(*) 
-                                select count(*) 
                 from attr_def
                 join fiche_detail using (ad_id)
                 where ad_type='card'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]