Using array_merge_recursive() causes the warning because variable $format does not initialized yet.
Warning: array_merge_recursive() [function.array-merge-recursive]: Argument #2 is not an array in /date/date_api.module on line 2160.

Attached patch which fixed above warnings.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Status: Needs review » Needs work

The last submitted patch, date_fix_warning_array_merge_recursive.patch, failed testing.

pdrake’s picture

Version: 6.x-2.9 » 6.x-2.x-dev
Issue summary: View changes
Status: Needs work » Needs review
FileSize
785 bytes

This patch worked for me. I re-rolled it so that it will apply cleanly to 6.x-2.x-dev, but otherwise this is exactly the same patch as in #1

DamienMcKenna’s picture

Status: Needs review » Closed (won't fix)

Unfortunately the D6 version of this module is no longer supported, but we appreciate the time you put into this. If this problem is relevant for D7 too, please reopen the issue. Thanks.