Skip to content

Commit e4ea683

Browse files
committed
Update Job.php
Previous code was encapsulating $args in an additional array, and thus breaking the new job $args.
1 parent 72c2afa commit e4ea683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Resque/Job.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public function recreate()
226226
$monitor = true;
227227
}
228228

229-
return self::create($this->queue, $this->payload['class'], $this->payload['args'], $monitor);
229+
return self::create($this->queue, $this->payload['class'], $this->getArguments(), $monitor);
230230
}
231231

232232
/**

0 commit comments

Comments
 (0)