The Date API function date_diff() clashes with the hook_diff() introduced by the diff module. I have also reported this to the diff module issue queue. Not sure which module should be changed.

Comments

karens’s picture

Thanks for the report. I'll change it here -- it's not used in many places yet.

karens’s picture

Status: Active » Fixed

OK, renamed it to date_difference(). Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

Bevan’s picture

hook_diff() + date.module will also clash with PHP 5.3's date_diff() function http://nz.php.net/manual/en/function.date-diff.php