I get the following error:

warning: substr() expects parameter 1 to be string, object given in /srv/projects/mfpl/nycal/web/sites/all/modules/date/date_api.module on line 1190.

The attached patch fixes the problem.

CommentFileSizeAuthor
#1 date_api_argument_handler.inc_.patch452 bytesjmcclelland

Comments

jmcclelland’s picture

StatusFileSize
new452 bytes

Woops - not sure the patch made it on the first submission.

K.MacKenzie’s picture

Can we get a commit on this patch to the dev version? This is the third time I have had to apply it after updating the same website.

damienmckenna’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Unfortunately the Drupal 6 version of the Date module is no longer supported. That said, we appreciate that you took time to work on this issue. Should this request still be relevant for Drupal 7 please feel free to reopen it. Thank you.