mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 08:15:14 +00:00
Fixed job arguments being wiped by array_shift
This commit is contained in:
parent
f7eac3b5e7
commit
0cfb2d2019
@ -128,7 +128,7 @@ class Resque_Job
|
|||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
|
||||||
return array_shift($this->payload['args']);
|
return $this->payload['args'][0];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user