]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Form.pm
DisplayableNamePrefs: UserPreferences-Helper f. DisplayableName
[mfinanz.git] / SL / Form.pm
index b9835881d49d92290860f64bf563ee69dd030a37..da4684358df7ff2ce230743e7ee99cb0bfa1c9ca 100644 (file)
@@ -150,7 +150,7 @@ sub _flatten_variables_rec {
           $first_array_entry = 0;
         }
       } else {
-        @result = ({ 'key' => $prefix . $key . ($first_array_entry ? '[+]' : '[]'), 'value' => $element });
+        push @result, { 'key' => $prefix . $key . '[]', 'value' => $element };
       }
     }
   }
@@ -1110,7 +1110,7 @@ sub send_email {
   my @attfiles;
   # if we send html or plain text inline
   if (($self->{format} eq 'html') && ($self->{sendmode} eq 'inline')) {
-    $mail->{contenttype}    =  "text/html";
+    $mail->{content_type}   =  "text/html";
     $mail->{message}        =~ s/\r//g;
     $mail->{message}        =~ s/\n/<br>\n/g;
     $full_signature         =~ s/\n/<br>\n/g;