was still using wrong object

This commit is contained in:
JT Smith 2006-03-16 19:51:29 +00:00
parent 0f27813ada
commit 4dc0fc073d

View file

@ -131,7 +131,7 @@ sub execute {
my $object = shift;
my $instance = shift;
my $cron = WebGUI::Workflow::Cron->create($self->session, {
title=>"Generated by workflow ".$self->getId." (".$self->get("title").")",
title=>"Generated by workflow instance ".$instance->getId." (".$self->get("title").")",
enabled=>$self->get("enabled"),
runOnce=>$self->get("runOnce"),
workflowId=>$self->get("workflowId"),