diff options
Diffstat (limited to 'lib/App/Nopaste')
-rw-r--r-- | lib/App/Nopaste/Service/Mathbin.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/App/Nopaste/Service/Mathbin.pm b/lib/App/Nopaste/Service/Mathbin.pm index 755d7ee..7ae1a26 100644 --- a/lib/App/Nopaste/Service/Mathbin.pm +++ b/lib/App/Nopaste/Service/Mathbin.pm @@ -26,8 +26,7 @@ sub fill_form { my %args = @_; $mech->submit_form( - form_number => 1, - fields => { + with_fields => { body => $self->fix_eqns($args{text}), do { $args{desc} ? (title => $args{desc}) : () }, do { $args{nick} ? (name => $args{nick}) : () }, |