summaryrefslogtreecommitdiffstats
path: root/lib/App/Nopaste/Service/Mathbin.pm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-05-14 15:57:17 -0700
committerJesse Luehrs <doy@tozt.net>2013-05-14 15:57:17 -0700
commitdb46f84ec1eb9f86a2b34b438029e769d8ad6025 (patch)
tree66d37d522e1725ddc8d9f31d0f72156f7b689e30 /lib/App/Nopaste/Service/Mathbin.pm
parent1dffc2d632c10c67994f0de0a11e77d4b7982d90 (diff)
parent8621f9f6f1fb4c9989400d0390d89f03e765a952 (diff)
downloadapp-nopaste-service-mathbin-db46f84ec1eb9f86a2b34b438029e769d8ad6025.tar.gz
app-nopaste-service-mathbin-db46f84ec1eb9f86a2b34b438029e769d8ad6025.zip
Merge pull request #1 from sergeyromanov/master
Fix form submission
Diffstat (limited to 'lib/App/Nopaste/Service/Mathbin.pm')
-rw-r--r--lib/App/Nopaste/Service/Mathbin.pm3
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}) : () },