mirror of
https://github.com/idanoo/php-resque
synced 2025-07-02 06:02:21 +00:00
Fixed job arguments being wiped by array_shift
This commit is contained in:
parent
f7eac3b5e7
commit
0cfb2d2019
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ class Resque_Job
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
|
||||||
return array_shift($this->payload['args']);
|
return $this->payload['args'][0];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue