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.

Files: 

Comments

Status:Active» Needs review
StatusFileSize
new446 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'.

Status:Needs review» Closed (duplicate)