Fixed job arguments being wiped by array_shift

This commit is contained in:
warezthebeef 2011-08-19 12:33:05 +12:00
parent f7eac3b5e7
commit 0cfb2d2019

View File

@ -128,7 +128,7 @@ class Resque_Job
return array();
}
return array_shift($this->payload['args']);
return $this->payload['args'][0];
}
/**