Permalink
Browse files

Updated recreate method in Resque_Job class to set arguments in the s…

…ame fashion as getAruments returns them.
  • Loading branch information...
atorres757 committed Nov 1, 2012
1 parent 3314d40 commit 3955bc8edc410c68c57e44120b709465101e090a
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Resque/Job.php
View
@@ -231,7 +231,7 @@ public function recreate()
$monitor = true;
}
- return self::create($this->queue, $this->payload['class'], $this->payload['args'], $monitor);
+ return self::create($this->queue, $this->payload['class'], $this->payload['args'][0], $monitor);
}
/**

0 comments on commit 3955bc8

Please sign in to comment.