Skip to content

Commit fb4cb18

Browse files
committed
Fixed exception on show_order_parts.php
1 parent 0e4e6a0 commit fb4cb18

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

show_order_parts.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,9 @@ function get_suppliers_template_loop($suppliers, $selected_supplier_id)
318318
htmlspecialchars($export_string, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8')))), 'string');
319319
}*/
320320

321-
$html->setVariable('export_result', "$export_string");
321+
if (isset($export_string)) {
322+
$html->setVariable('export_result', "$export_string");
323+
}
322324

323325
// global stuff
324326
$html->setVariable('disable_footprints', $config['footprints']['disable'], 'boolean');

0 commit comments

Comments
 (0)