Merge pull request #24200 from grandoc/new_branch_13_03_2023

fix : Fatal error: Uncaught TypeError: strlen(): Argument #1 () must …
This commit is contained in:
Laurent Destailleur 2023-03-17 21:16:55 +01:00 committed by GitHub
commit 516f4a6c53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -726,6 +726,8 @@ class ExtraFields
if (is_array($param) && count($param) > 0) {
$params = serialize($param);
} elseif (is_array($param)) {
$params = '';
} elseif (strlen($param) > 0) {
$params = trim($param);
} else {