diff --git a/job.go b/job.go index c3b5b81..407b368 100644 --- a/job.go +++ b/job.go @@ -1293,7 +1293,7 @@ func jobGWithdraw(j Job) { default: log.Printf("jobGWithdraw : No handler for item type #%d.\n", obj.ItemTypeID) } - } else if ok, _ := regexp.MatchString(`^u[0-9]+`, code); ok { + } else if ok, _ := regexp.MatchString(`^u[0-9]+`, item.Item); ok { p.Status = p.Status | 32 } }