Problem/Motivation

Two places in the code refer to a non-existent $field['granularity'] instead of $field['settings']['granularity']. One of these is in the deprecated date_tools_change_type_form() submit handler.

Proposed resolution

Correct the reference. [Ignore that in the deprecated code.]

Remaining tasks

Review, add and run tests.

User interface changes

None.

API changes

None.

Comments

solotandem created an issue. See original summary.

solotandem’s picture

Status: Active » Needs review
StatusFileSize
new1.07 KB

Attached patch implements the proposed resolution.

steinmb’s picture

Status: Needs review » Reviewed & tested by the community

Thank you. Look right to me.

damienmckenna’s picture

damienmckenna’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thank you.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.