- fix: deleting workflows did not delete related instances and crons

- Added a "run" link to the scheduler and the running workflows listings to
   aid in debugging workflow errors.
 - fix: profile fields not validated by WebGUI::User
This commit is contained in:
JT Smith 2006-09-15 06:08:30 +00:00
parent 7852441151
commit 90cb569bb5
9 changed files with 102 additions and 8 deletions

View file

@ -439,6 +439,7 @@ sub profileField {
$self = shift;
$fieldName = shift;
$value = shift;
die "No such profile field: $fieldName" unless $self->session->db->quickArray("SELECT COUNT(*) FROM userProfileField WHERE fieldName = ?", [$fieldName]);
if (defined $value) {
$self->uncache;
$self->{_profile}{$fieldName} = $value;