I don't know why this has never come up before, but for custom date types system_get_date_formats() can return FALSE, in which case there is a harmless but annoying error on the block configure form.

#1 clock-notice-2.patch2.34 KBtstoeckler
clock-notice.patch1.32 KBtstoeckler
Members fund testing for the Drupal project. Drupal Association Learn more


tstoeckler’s picture

2.34 KB

There was another place the same construct was used. This changes the code to re-use the _clock_get_date_format() helper function.

tstoeckler’s picture

Status: Needs review » Fixed

Committed this.
I checked and it doesn't apply to 7.x-2.x
Marking this fixed.


Status: Fixed » Closed (fixed)

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