I kept getting php errors with the 6.x version whenever I tried to create a node scheduled to be published:
Array to string conversion in /opt/local/apache2/htdocs/man/includes/form.inc on line 766.
Digging into form.inc, the scheduler validate function was being added to the array in an unexpected manner.
Array ( [0] => node_form_validate [_scheduler_form_validate] => Array ( ) )
Attached patch adds it in the expected manner.
Array ( [0] => node_form_validate [1] => _scheduler_form_validate )
| Comment | File | Size | Author |
|---|---|---|---|
| form_validater_scheduler.patch | 919 bytes | greggles |
Comments
Comment #1
yang_yi_cn commented+1 for that.
Comment #2
eric-alexander schaefer commentedhttp://drupal.org/cvs?commit=150443
Thanks Greg!
Comment #3
eric-alexander schaefer commentedThe registration of the validation function is superfluous since the function is long gone... (validation is done via hook_nodeapi('validate')).
http://drupal.org/cvs?commit=150605
Comment #4
eric-alexander schaefer commentedFixed in 6.x-1.3