replaced return; with return undef;

This commit is contained in:
JT Smith 2008-01-24 21:58:15 +00:00
parent ffa90c5fbd
commit fa09c41598
113 changed files with 287 additions and 286 deletions

View file

@ -417,7 +417,7 @@ sub new {
my $session = shift;
my $workflowId = shift;
my $data = $session->db->getRow("Workflow","workflowId", $workflowId);
return unless $data->{workflowId};
return undef unless $data->{workflowId};
bless {_session=>$session, _id=>$workflowId, _data=>$data}, $class;
}