From e4ea683def8f81f17cd8dd2f44e596b87f72bcad Mon Sep 17 00:00:00 2001 From: CyrilMazur Date: Tue, 16 Apr 2013 13:07:03 -0300 Subject: [PATCH] Update Job.php Previous code was encapsulating $args in an additional array, and thus breaking the new job $args. --- lib/Resque/Job.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Resque/Job.php b/lib/Resque/Job.php index 82b11bc..7581ae3 100755 --- a/lib/Resque/Job.php +++ b/lib/Resque/Job.php @@ -226,7 +226,7 @@ class Resque_Job $monitor = true; } - return self::create($this->queue, $this->payload['class'], $this->payload['args'], $monitor); + return self::create($this->queue, $this->payload['class'], $this->getArguments(), $monitor); } /**