Closed (fixed)
Project:
Elysia Cron
Version:
7.x-2.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Mar 2013 at 13:14 UTC
Updated:
10 Apr 2013 at 22:40 UTC
function elysia_cron_set_channel_last_abort_function($channel, <strong>$job</strong>) {
return elysia_cron_set($channel, TRUE, array('last_abort_function' => <strong>$v)</strong>);
}
The code above (line 513, 514 and 515 of elysia_cron.module version 7.x-2.1), seems to be incorrect, as $v doesn't exist in this function scope, shouldn't it be $job instead?
Comments
Comment #1
bpresles commentedSorry for the <strong></strong> tags in above comment. I wanted to highlight $v and $job variable to highlight the mismatch, but inside <code></code> it doesn't seem to be possible.
I paste again the code below for readability purpose:
Comment #2
gotheric commentedYou are right, this should be:
Probably this has broken in one of the last refactorings...
I'll commit the fix soon, thanks
Comment #3
gotheric commentedCommitted in dev version