fix bugs revealed by Test::Class tests

This commit is contained in:
Doug Bell 2011-06-02 19:44:06 -05:00
parent 1de9a12365
commit 664e7686c6
16 changed files with 93 additions and 75 deletions

View file

@ -2282,8 +2282,6 @@ sub processEditForm {
}
}
$self->session->log->info( Dumper \%data );
$self->session->db->beginTransaction;
$self->update( \%data );
$self->session->db->commit;
@ -2939,7 +2937,7 @@ sub www_editSave {
});
if ($commitStatus eq 'redirect') {
##Redirect set by tag. Return nothing to send the user over to the redirect.
return undef;
return 'redirect';
}
elsif ($commitStatus eq 'commit') {
##Commit was successful. Update the local object cache so that it will no longer