Commit 6a1f9307 authored by Sven Franck's avatar Sven Franck

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

parent 9cd1bf0a
......@@ -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