X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=ND%2FWeb%2FPages%2FEditRaid.pm;h=343021ac6dce02ed3e39f3cf22ab787c780c4e72;hb=f6cfe40e6a8da61229131a2d38a2535ae66da359;hp=8b46508bb63d06d681b556f07a0f1428dfcafd5a;hpb=d70994d68636adec6d1a4e2f7bacf0e418a2493a;p=ndwebbie.git diff --git a/ND/Web/Pages/EditRaid.pm b/ND/Web/Pages/EditRaid.pm index 8b46508..343021a 100644 --- a/ND/Web/Pages/EditRaid.pm +++ b/ND/Web/Pages/EditRaid.pm @@ -23,7 +23,7 @@ use ND::Include; use CGI qw/:standard/; use ND::Web::Include; -our @ISA = qw/ND::Web::XMLPage/; +use base qw/ND::Web::XMLPage/; $ND::Web::Page::PAGES{editRaid} = __PACKAGE__; @@ -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;