Hi, I've started using this module for a commerce website, and the module displays a warning each time I submit a new node. Here is the error:

Warning : trim() expects parameter 1 to be string, array given dans _scheduler_strtotime() (ligne 482 dans /.../drupal/sites/all/modules/scheduler/scheduler.module).

I believe the date module make it appear in two textfield instead of one (date and time). Then, the _scheduler_strtotime function get an array instead of a string. Patch following.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

idflood’s picture

Status: Active » Needs review
FileSize
446 bytes

So the patch is really simple. It simply check if the $str variable is an array, and if it is the case, it concatenate the 'date' and 'time'.

jonathan1055’s picture

pfrenssen’s picture

Status: Needs review » Closed (duplicate)