Added print document options in inquiries.
[fa-stable.git] / manufacturing / includes / work_order_issue_ui.inc
index c81b779256f4c3b06130858fd639ffa74e7954ba..531e9983a5186a61d4314399b3f98f388fc91fd0 100644 (file)
@@ -57,7 +57,7 @@ function display_adjustment_items($Title, &$order)
                label_cell("<a target='_blank' href='$path_to_root/inventory/inquiry/stock_status.php?" . SID . "stock_id=" . $stock_item->stock_id . "'>$stock_item->stock_id</a>");
                label_cell($stock_item->item_description);
                qty_cell($stock_item_quantity);
-               if (strlen($stock_item->units)
+               if (strlen($stock_item->units))
                        label_cell($stock_item->units);
                else
                        label_cell("");