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:
parent
dc1ba8f447
commit
4bcc7a8f63
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user