Avoid warning

This commit is contained in:
Laurent Destailleur 2020-02-03 21:17:45 +01:00
parent d4ae8b81e4
commit c367c6f34e

View File

@ -8,7 +8,7 @@ if (empty($conf) || !is_object($conf))
} }
// Loop to complete $param for extrafields // Loop to complete $param for extrafields
if (!empty($search_array_options)) // $extrafieldsobject is the $object->table_element like 'societe', 'socpeople', ... if (!empty($search_array_options) && is_array($search_array_options)) // $extrafieldsobject is the $object->table_element like 'societe', 'socpeople', ...
{ {
if (empty($search_options_pattern)) $search_options_pattern = 'search_options_'; if (empty($search_options_pattern)) $search_options_pattern = 'search_options_';