Run on registration and alert on new user have been converted to a single workflow.

This commit is contained in:
JT Smith 2006-03-10 03:48:23 +00:00
parent 5956fce2f1
commit 3e60294bb6
33 changed files with 315 additions and 50 deletions

View file

@ -238,8 +238,8 @@ sub getList {
my $session = shift;
my $type = shift;
my $sql = "select workflowId, title from Workflow where enabled=1";
$sql .= " where type=?" if ($type);
return $session->db->buildHashRef($sql, $type);
$sql .= " and type=?" if ($type);
return $session->db->buildHashRef($sql, [$type]);
}