modmore / Scheduler

A general, abstract method of scheduling various tasks within MODX Revolution.
https://www.modmore.com/extras/scheduler/documentation/
MIT License
11 stars 14 forks source link

Issue with processor based tasked #15

Closed christianseel closed 9 years ago

christianseel commented 9 years ago

For any reason the array_merge() in the sProcessorTask class wasn't working as expected.

This fixed it: (line 15)

        $data = array (
            'task' => &$this,
            'run' => &$run,
        );
        $rundata = $run->get('data');
        if (is_array($rundata)) $data = array_merge($data, $rundata);