Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.21
-
Fix Version/s: 4.7.23
-
Component/s: None
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Contributed Code
-
Verified?:No
Description
Currently the code unsets is_primary and there is a comment stating that a bug in earlier versions caused is_primary to be set multiple times. But the calling code expects the field is_primary to be available, so the better option is to set is_primary=0 rather than unsetting it from the array.