[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 03/04: Bug #0002061: Fiche ne peuvent pas dev
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 03/04: Bug #0002061: Fiche ne peuvent pas devenir inactive |
Date: |
Thu, 2 Sep 2021 18:27:30 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 439662f593dbc5e1efc51804941345bfd4805a1a
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Thu Sep 2 16:18:45 2021 +0200
Bug #0002061: Fiche ne peuvent pas devenir inactive
---
include/class/fiche.class.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php
index d88ee21..8d73b14 100644
--- a/include/class/fiche.class.php
+++ b/include/class/fiche.class.php
@@ -530,6 +530,11 @@ class Fiche
$this->setAttribut($property->ad_id, $p_array[$key]);
}
}
+ if ( isset($p_array['f_enable'])) {
+ $this->set_f_enable($p_array["f_enable"]);
+ }else {
+ $this->set_f_enable(1);
+ }
// save all
Card_Property::update($this);
$this->quick_code=$this->strAttribut(ATTR_DEF_QUICKCODE);