From: Michael Andreen Date: Mon, 29 Jan 2007 17:30:22 +0000 (+0000) Subject: update both on submit and change X-Git-Url: https://ruin.nu/git/?a=commitdiff_plain;ds=inline;h=f7432fc661ac6760ac9149c602f943ac04397685;p=ndwebbie.git update both on submit and change --- diff --git a/ND/Web/Pages/EditRaid.pm b/ND/Web/Pages/EditRaid.pm index ec8a642..343021a 100644 --- a/ND/Web/Pages/EditRaid.pm +++ b/ND/Web/Pages/EditRaid.pm @@ -80,7 +80,7 @@ sub render_body { ,undef,escapeHTML(param('comment')),param('target')) or $error .= p($DBH->errstr); - }elsif (param('cmd') eq 'change'){ + }elsif (param('cmd') eq 'change' || param('cmd') eq 'submit'){ $DBH->begin_work; my $message = escapeHTML(param('message')); $raid->{message} = $message;