Index: /changelog
===================================================================
--- /changelog	(revision 8383)
+++ /changelog	(revision 8384)
@@ -616,2 +616,3 @@
 - Bugfix: PHP 8.2 Fehler mit FPDF
 - Bugfix: Alternative Produktansicht mit Produktkombinationen
+- Bugfix: PHP 8.2 Fehler bei Rechnungen ohne Farbe
Index: /lib/wpsg_fpdf.class.php
===================================================================
--- /lib/wpsg_fpdf.class.php	(revision 8383)
+++ /lib/wpsg_fpdf.class.php	(revision 8384)
@@ -41,5 +41,7 @@
 		public function wpsg_SetTextColor($strHEXCode)
 		{
-						
+			
+			if (trim($strHEXCode??'') === '') return;
+			
 			if ($strHEXCode[0] == '#')
 		        $strHEXCode = substr($strHEXCode, 1);
