PHP 7.4 Bugs in some reports.
[fa-stable.git] / reporting / rep306.php
index f3d022fd29fff42f73cddf5e9f2812d125071c5d..00cddadc1f96a000cd4c3fe61ff9abd0d87a2f55 100644 (file)
@@ -266,7 +266,7 @@ function print_inventory_purchase()
                        $rep->NewLine();
                        $rep->NewLine();
                        $total_supp = $total_qty = 0.0;
-                       $supplier_name = $trans['supplier_name'];
+                       $supplier_name = isset($trans['supplier_name']) ? $trans['supplier_name'] : "";
                }       
        }
        if ($supplier_name != '')