All *_list() functions now does not display html directly - added echo when needed.
[fa-stable.git] / purchasing / allocations / supplier_allocation_main.php
index a14565946c0fc42463653043705c6ee1bd6c6d6d..3487767544f025f0dea620d3b5fdd2e1c012c49a 100644 (file)
@@ -34,7 +34,7 @@ start_form();
        $_POST['supplier_id'] = get_global_supplier();
 
     echo "<center>" . _("Select a Supplier: ") . "&nbsp;&nbsp;";
-       supplier_list('supplier_id', $_POST['supplier_id'], true, true);
+       echo supplier_list('supplier_id', $_POST['supplier_id'], true, true);
     echo "<br>";
     check(_("Show Settled Items:"), 'ShowSettled', null, true);
        echo "</center><br><br>";