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.

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

Comments

tstoeckler’s picture

FileSize
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.

http://drupal.org/commitlog/commit/12842/b9a3e7aea265a2734724df24a0c6e67...

Status: Fixed » Closed (fixed)

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