fix : Fatal error: Uncaught TypeError: strlen(): Argument #1 () must be of type string, array given in /home/httpd/vhosts/aflac.fr/domains/dev.aflac.fr/httpdocs/core/class/extrafields.class.php on line 728

This commit is contained in:
Philippe GRAND 2023-03-13 16:24:19 +01:00
parent dc1ba8f447
commit 4bcc7a8f63

View File

@ -725,6 +725,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 {