We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f5a372 commit 23fb4eaCopy full SHA for 23fb4ea
lib/Resque/Job.php
@@ -253,7 +253,7 @@ public function fail($exception)
253
public function recreate()
254
{
255
$monitor = false;
256
- if (isset($this->payload['id'])) {
+ if (!empty($this->payload['id'])) {
257
$status = new Resque_Job_Status($this->payload['id'], $this->getPrefix());
258
if($status->isTracking()) {
259
$monitor = true;
0 commit comments