From db639f4cc1b64c03c2d68226ac17c3f8631cf439 Mon Sep 17 00:00:00 2001 From: Martyn Smith Date: Tue, 3 Jun 2008 17:31:58 +1200 Subject: [PATCH] Patched to not require the with_fields attribute (which isn't in etch) --- lib/WRMS.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, -- 2.39.5