[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/20: PHP Compatibility 8.1
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 01/20: PHP Compatibility 8.1 |
Date: |
Sun, 10 Dec 2023 03:22:22 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 479306c564eeae9a681b4675cac8f7ab7852f60d
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed Sep 20 14:13:18 2023 +0200
PHP Compatibility 8.1
---
include/tfpdf/tfpdf.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/tfpdf/tfpdf.php b/include/tfpdf/tfpdf.php
index 6000a9fb2..17f135b90 100644
--- a/include/tfpdf/tfpdf.php
+++ b/include/tfpdf/tfpdf.php
@@ -2257,14 +2257,14 @@ function UTF8ToUTF16BE($str, $setbom=true) {
if ($setbom) {
$outstr .= "\xFE\xFF"; // Byte Order Mark (BOM)
}
- $outstr .= mb_convert_encoding($str, 'UTF-16BE', 'UTF-8');
+ $outstr .= mb_convert_encoding($str??"", 'UTF-16BE', 'UTF-8');
return $outstr;
}
// Converts UTF-8 strings to codepoints array
function UTF8StringToArray($str) {
$out = array();
- $len = strlen($str);
+ $len = strlen($str??"");
for ($i = 0; $i < $len; $i++) {
$uni = -1;
$h = ord($str[$i]);
- [Noalyss-commit] [noalyss] branch master updated (4bf2ca815 -> 98390d4d4), dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 11/20: remove raise, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 05/20: Task #2309 mot de passe fort, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 13/20: FIX : when taken from git NOALYSS_VERSION is undefined, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 02/20: Improve Manage_Table : search button if modify or delete is on the left, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 18/20: DatabaseCore : clear prepare stmt, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 19/20: Test disable xdebug, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 16/20: PRINTGL Main Ledger (GL) improve performance and code prepare the SQL , better filter for accounting, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 08/20: Improve documentation, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 01/20: PHP Compatibility 8.1,
dwm <=
- [Noalyss-commit] [noalyss] 17/20: PRINTGL Main Ledger (GL), dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 20/20: Fix merge issue, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 06/20: ergo, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 15/20: Improve DatabaseCore : fetch_all, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 10/20: Merge master, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 07/20: Update link to https://www.noalyss.eu instead of http, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 03/20: Documentation, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 09/20: Protect Qcode in fiche_detail, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 04/20: PHP8.2 deprecated, dwm, 2023/12/10
- [Noalyss-commit] [noalyss] 14/20: Improve DBG , add stopwatch : timer_start and timer_show, dwm, 2023/12/10