stable

Clone or download

Read-only

Check first if field is read-only, then if user can update

Part of story #12189 prevent field modification according to state No functional change on read-only fields. This helps to save DB queries. Read-only field > field permission, so there's no need to check field permissions when the field is read-only. Change-Id: I31bb0942ebac09d8d298164d9bd5affd13b8fe05

Modified Files

Name
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php +5 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php +1 −1 Go to diff View file