From 5ed9f8a66cac0752c7f98215878b7ed77aca224a Mon Sep 17 00:00:00 2001 From: sparkyx Date: Wed, 3 Sep 2025 19:36:45 +0200 Subject: [PATCH] Fix Fiche->strAttribut --- include/class/fiche.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php index 165c6860b..f45588b1b 100644 --- a/include/class/fiche.class.php +++ b/include/class/fiche.class.php @@ -315,13 +315,13 @@ class Fiche } /** * @brief use get_attribute instead - * @deprecated since version 9.3.0.12 + * @deprecated since version 9.3.12 * @param int $p_ad_id AD_ID from attr_def.ad_id * @param int $p_return 1 return NOTFOUND otherwise an empty string */ function strAttribut($p_ad_id,$p_return=1) { - return get_attribute($p_ad_id,$p_return); + return $this->get_attribute($p_ad_id,$p_return); } /*** * @brief return the string of the given attribute