From 9355c5a8d79eb6ec14c07b82eafc20e531b192ee Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 4 Mar 2018 11:31:57 +0100 Subject: [PATCH] Fix scrutinizer --- htdocs/core/class/commonobject.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 378898e0607..7e565e0222f 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -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 != '') {