From ea863255662ed6a3af2bec836ef9575f8bb75b97 Mon Sep 17 00:00:00 2001 From: Anne-Cath Date: Tue, 16 Sep 2025 23:34:59 +0200 Subject: [PATCH] WIP --- application/cmdbabstract.class.inc.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/application/cmdbabstract.class.inc.php b/application/cmdbabstract.class.inc.php index 3d8e7c28d..3282e27b6 100644 --- a/application/cmdbabstract.class.inc.php +++ b/application/cmdbabstract.class.inc.php @@ -3889,11 +3889,11 @@ HTML; } /** - * function to test if the posted value or fi not exists the existing value matches the expected value + * function to test if the posted value or if not exists the existing value matches the expected value * this is used to check the current value in GetAttributeFlag function (useful to manage dynamic readonly attributes) - * @param $sAttr + * @param $sAttCode */ - public function GetCurrentValue($sAttCode) + public function GetCurrentValueInScreen($sAttCode) { if (array_key_exists($sAttCode, $this->aPostedValues)) { return $this->aPostedValues[$sAttCode]; @@ -3903,10 +3903,10 @@ HTML; /* * This function checks if the value of the attribute has been modified in screen - * this is used to check if field has been modifed in GetAttributeFlag function (useful to manage dynamic readonly attributes) - * @param $sAttr + * this is used to check if field has been modified in GetAttributeFlag function (useful to manage dynamic readonly attributes) + * @param $sAttCode */ - public function IsModifiedValue($sAttCode) + public function IsModifiedValueInScreen($sAttCode) { if (array_key_exists($sAttCode, $this->aPostedValues)) { return $this->aPostedValues[$sAttCode] != $this->Get($sAttCode);