]> git.mjollnir.org Git - tks.git/commitdiff
Patched to not require the with_fields attribute (which isn't in etch)
authorMartyn Smith <martyn@catalyst.net.nz>
Tue, 3 Jun 2008 05:31:58 +0000 (17:31 +1200)
committerMartyn Smith <martyn@catalyst.net.nz>
Tue, 3 Jun 2008 05:31:58 +0000 (17:31 +1200)
lib/WRMS.pm

index 087f64e52c7290422ffae401d27c321aef813b8d..ca7c8c1bd257578e8f07158f3834f2e18ee2ce9d 100644 (file)
@@ -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,