If $parts['query'] doesn't exist in _supercron_parallel_call() it leaves an error:

Notice: Undefined index: query in _supercron_parallel_call() (line 206 of sites/all/modules/contrib/supercron/supercron.inc).

Note: you may need error_reporting() set to E_ALL to see this.

CommentFileSizeAuthor
#1 supercron-n926868.patch730 bytesdamienmckenna

Comments

damienmckenna’s picture

StatusFileSize
new730 bytes

Patch attached that just does a quick isset & ternary operator to avoid the error.

damienmckenna’s picture

Status: Active » Needs review
damienmckenna’s picture

Version: 6.x-1.3 » 6.x-1.4-beta1

FYI I was going to submit a patch for v6.x-2.x but this issue is preventing me from doing so: #926934: Coding standards in supercron.classes.inc

pillarsdotnet’s picture

Noticed that this change is already applied to the 6.x-2.x version.

pillarsdotnet’s picture

Version: 6.x-1.4-beta1 » 6.x-2.x-dev
Status: Needs review » Closed (fixed)