mirror of
https://github.com/Combodo/iTop.git
synced 2026-06-04 15:12:18 +02:00
Compare commits
8 Commits
feature/un
...
feature/75
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
92ef465e9d | ||
|
|
1d03cf58fb | ||
|
|
6efe0f5dac | ||
|
|
ef720cf0be | ||
|
|
f90d10114d | ||
|
|
da0066dd14 | ||
|
|
3f68e161be | ||
|
|
cc8c3d3bf1 |
@@ -175,6 +175,11 @@ abstract class cmdbAbstractObject extends CMDBObject implements iDisplay
|
||||
*/
|
||||
protected $sDisplayMode;
|
||||
protected $aFieldsMap;
|
||||
/**
|
||||
* @var array Store posted values in order to be used in GetAttributeFlags
|
||||
* @since 3.3.0
|
||||
*/
|
||||
protected $aPostedValues = [];
|
||||
|
||||
/**
|
||||
* If true, bypass IsActionAllowedOnAttribute when writing this object
|
||||
@@ -3794,7 +3799,7 @@ HTML;
|
||||
return $aWriteableAttList;
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Compute the attribute flags depending on the object state
|
||||
*/
|
||||
public function GetFormAttributeFlags($sAttCode)
|
||||
@@ -3986,6 +3991,7 @@ HTML;
|
||||
|
||||
$aErrors = [];
|
||||
$aFinalValues = [];
|
||||
$this->aPostedValues = $aValues; // Store the values for later use (e.g. in GetAttributeFlags)
|
||||
foreach ($this->GetWriteableAttList(array_keys($aValues), $aErrors, $aAttFlags) as $sAttCode => $oAttDef) {
|
||||
$aFinalValues[$sAttCode] = $aValues[$sAttCode];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user