From: Martyn Smith Date: Tue, 3 Jun 2008 05:31:58 +0000 (+1200) Subject: Patched to not require the with_fields attribute (which isn't in etch) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=db639f4cc1b64c03c2d68226ac17c3f8631cf439;p=tks.git Patched to not require the with_fields attribute (which isn't in etch) --- diff --git a/lib/WRMS.pm b/lib/WRMS.pm index 087f64e..ca7c8c1 100644 --- a/lib/WRMS.pm +++ b/lib/WRMS.pm @@ -185,8 +185,10 @@ sub add_time { write_file('WRMS.html', $self->{mech}->response->content); + $self->{mech}->form_name('form'); + $self->{mech}->submit_form( - with_fields => { + fields => { work_on => $date, work_quantity => $hours, work_description => $comment,