]> wagnertech.de Git - kivitendo-erp.git/blobdiff - bin/mozilla/is.pl
Bugfix 133, Quoting fuer Kunden und Lieferanten rein, Dequoting wird nicht benoetigt,
[kivitendo-erp.git] / bin / mozilla / is.pl
index b5479473ccdf23912772a2accc070c6e2802532e..eb9dd849f2736effff2281063fc32022aefd2be7 100644 (file)
@@ -105,6 +105,11 @@ sub invoice_links {
   $cp_id = $form->{cp_id};
   IS->get_customer(\%myconfig, \%$form);
 
+  #quote all_customer Bug 133
+  foreach $ref (@{ $form->{all_customer} }) {
+    $ref->{name} = $form->quote($ref->{name});
+  }
+
   IS->retrieve_invoice(\%myconfig, \%$form);
   $form->{cp_id} = $cp_id;
 
@@ -239,6 +244,9 @@ sub form_header {
       s/option>\Q$form->{$item}\E/option selected>$form->{$item}/;
   }
 
+  #quote customer Bug 133
+  $form->{selectcustomer} = $form->quote($form->{selectcustomer});
+  
   #build contacts
   if ($form->{all_contacts}) {