Fix scrutinizer

This commit is contained in:
Laurent Destailleur 2018-03-04 11:31:57 +01:00
parent e574ec4bf1
commit 9355c5a8d7

View File

@ -4694,7 +4694,7 @@ abstract class CommonObject
if ($this->array_options[$key] != '' && is_array($extrafields->attributes[$this->table_element]['param'][$attributeKey]['options']))
{
// If there is an encryption choice, we use it to crypt data before insert
$tmparrays = array_keys($extrafields->attributes[$this->table_element]['param'][$attributeKey]['options'])
$tmparrays = array_keys($extrafields->attributes[$this->table_element]['param'][$attributeKey]['options']);
$algo=reset($tmparrays);
if ($algo != '')
{