Commit da37c965 authored by Sven Franck's avatar Sven Franck Committed by Tristan Cavelier

JobRecovery tries to use "modified" property of gone job - fixed

parent d10f8d1e
......@@ -31,7 +31,7 @@ function enableJobRecovery(jio, shared, options) {
var job;
shared.job_queue.load();
job = shared.job_queue.get(id);
if (job.modified === modified) {
if (job && job.modified === modified) {
// job not modified, no one takes care of it
recoverJob(job);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment