diff --git a/lib/Resque/Job.php b/lib/Resque/Job.php index c820412..ee4aaba 100644 --- a/lib/Resque/Job.php +++ b/lib/Resque/Job.php @@ -128,7 +128,7 @@ class Resque_Job return array(); } - return array_shift($this->payload['args']); + return $this->payload['args'][0]; } /**