Avoid warning
This commit is contained in:
parent
d4ae8b81e4
commit
c367c6f34e
@ -8,7 +8,7 @@ if (empty($conf) || !is_object($conf))
|
||||
}
|
||||
|
||||
// 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_';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user