@@ -305,16 +305,19 @@ function get_suppliers_template_loop($suppliers, $selected_supplier_id)
305305 // export formats
306306 $ html ->setLoop ('export_formats ' , buildExportFormatsLoop ('orderparts ' , $ export_format_id ));
307307
308- if (isset ($ export_string )) {
309- $ html ->setVariable ('export_result ' , str_replace ("\n" , '<br> ' , str_replace ("\n " , '<br> ' , // yes, this is quite ugly,
310- str_replace ("\n " , '<br> ' , // but the result is pretty ;-)
311- htmlspecialchars ($ export_string , ENT_QUOTES | ENT_SUBSTITUTE , 'UTF-8 ' )))), 'string ' );
312- }
313-
314- // global stuff
315- $ html ->setVariable ('disable_footprints ' , $ config ['footprints ' ]['disable ' ], 'boolean ' );
316- $ html ->setVariable ('disable_manufacturers ' , $ config ['manufacturers ' ]['disable ' ], 'boolean ' );
317- $ html ->setVariable ('disable_auto_datasheets ' , $ config ['auto_datasheets ' ]['disable ' ], 'boolean ' );
308+ /*
309+ if (isset($export_string)) {
310+ $html->setVariable('export_result', str_replace("\n", '<br>', str_replace("\n ", '<br> ', // yes, this is quite ugly,
311+ str_replace("\n ", '<br> ', // but the result is pretty ;-)
312+ htmlspecialchars($export_string, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8')))), 'string');
313+ }*/
314+
315+ $ html ->setVariable ('export_result ' , "$ export_string " );
316+
317+ // global stuff
318+ $ html ->setVariable ('disable_footprints ' , $ config ['footprints ' ]['disable ' ], 'boolean ' );
319+ $ html ->setVariable ('disable_manufacturers ' , $ config ['manufacturers ' ]['disable ' ], 'boolean ' );
320+ $ html ->setVariable ('disable_auto_datasheets ' , $ config ['auto_datasheets ' ]['disable ' ], 'boolean ' );
318321
319322 $ html ->setVariable ('use_modal_popup ' , $ config ['popup ' ]['modal ' ], 'boolean ' );
320323 $ html ->setVariable ('popup_width ' , $ config ['popup ' ]['width ' ], 'integer ' );
0 commit comments