mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
N°1982 - Fix resolution date not updated as expected when concurrent access from both portal and admin. console
This commit is contained in:
@@ -16,8 +16,6 @@
|
|||||||
* GNU Affero General Public License for more details.
|
* GNU Affero General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
*
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Combodo\iTop\Portal\Form;
|
namespace Combodo\iTop\Portal\Form;
|
||||||
@@ -956,8 +954,13 @@ class ObjectFormManager extends FormManager
|
|||||||
$oField->SetDisplayMode($aFieldsExtraData[$sAttCode]['display_mode']);
|
$oField->SetDisplayMode($aFieldsExtraData[$sAttCode]['display_mode']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Do not add hidden fields as they are of no use, if one is necessary because another depends on it, it will be automatically added.
|
||||||
|
// Note: We do this at the end because during the process an hidden field could have become writable if mandatory and empty for example.
|
||||||
|
if($oField->GetHidden() === false)
|
||||||
|
{
|
||||||
$oForm->AddField($oField);
|
$oForm->AddField($oField);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Checking dependencies to ensure that all needed fields are in the form
|
// Checking dependencies to ensure that all needed fields are in the form
|
||||||
// (This is kind of a garbage collector for dependencies)
|
// (This is kind of a garbage collector for dependencies)
|
||||||
|
|||||||
Reference in New Issue
Block a user