From 65b79b7f4a916525826d0f9b25e1bd6f7dc014b8 Mon Sep 17 00:00:00 2001 From: David Abdemoulaie Date: Fri, 10 Dec 2010 23:25:33 -0600 Subject: [PATCH] Fixes job status updates - #1 --- 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 c25382c..86084f6 100644 --- a/lib/Resque/Job.php +++ b/lib/Resque/Job.php @@ -91,7 +91,7 @@ class Resque_Job */ public function updateStatus($status) { - if(empty($this->payload->id)) { + if(empty($this->payload['id'])) { return; }