First fix of PHP 8.2 deprecated errors. Not seen with $go_debug = 0, but error.log...
[fa-stable.git] / reporting / rep110.php
index cc0f1c10b18b0ff01cdd43661820fd93e9f81cf6..5924f88075c9652b5f3b58ba2beadb8ad5b061de 100644 (file)
@@ -92,7 +92,7 @@ function print_deliveries()
                                        $rep->filename = "Packing_slip" . $myrow['reference'] . ".pdf";
                                }
                        }
-                       $rep->currency = $cur;
+                       $rep->currency = ($cur == null ? "USD" : $cur);
                        $rep->Font();
                        $rep->Info($params, $cols, null, $aligns);