From 3d8265f89fc8223304fa743ac5757a87f5076dab Mon Sep 17 00:00:00 2001 From: sparkyx Date: Fri, 15 Sep 2023 19:15:32 +0200 Subject: [PATCH] Comptability PHP8.1 remove deprecated null string --- include/lib/pdf_core.class.php | 4 ++-- include/template/stock_histo.php | 4 ++-- include/template/stock_summary_table.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/lib/pdf_core.class.php b/include/lib/pdf_core.class.php index d46355f3c..3b4563889 100644 --- a/include/lib/pdf_core.class.php +++ b/include/lib/pdf_core.class.php @@ -264,7 +264,7 @@ class PDF_Core extends TFPDF $this->bigger=0; } /** - * If the step is even then return 1 and set the backgroup color to blue , otherwise + * @brief If the step is even then return 1 and set the backgroup color to blue , otherwise * returns 0, and set the background color to white * It is use to compute alternated colored row , it the parameter fill in write_cell and * cell @@ -281,7 +281,7 @@ class PDF_Core extends TFPDF $this->SetFillColor(255, 255, 255); $fill = 0; } - return $p_step; + return $fill; } diff --git a/include/template/stock_histo.php b/include/template/stock_histo.php index bdb496de5..2c61a5a10 100644 --- a/include/template/stock_histo.php +++ b/include/template/stock_histo.php @@ -59,12 +59,12 @@ - + - + diff --git a/include/template/stock_summary_table.php b/include/template/stock_summary_table.php index 485bd74dc..a191be1da 100644 --- a/include/template/stock_summary_table.php +++ b/include/template/stock_summary_table.php @@ -89,7 +89,7 @@ : - +