]> wagnertech.de Git - kivitendo-erp.git/blobdiff - bin/mozilla/is.pl
Recommit von r1183 von skoehler: Bugfix 133, Quoting fuer Kunden und Lieferanten...
[kivitendo-erp.git] / bin / mozilla / is.pl
index 163ac1461d589c96da7d55b6cf7d541ed42dadd6..933db34aa387db4470793919f685ed130e6db067 100644 (file)
@@ -138,6 +138,10 @@ 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});
+  }
   if ($id) {
     $form->{id} = $id;
   }
@@ -381,6 +385,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}) {