mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
fix some warnings php8 (#26346)
Co-authored-by: Hystepik <lucas.marcouiller@gmail.com>
This commit is contained in:
committed by
GitHub
parent
3697580d7a
commit
af17b767c0
@@ -6162,7 +6162,7 @@ abstract class CommonObject
|
||||
//var_dump('key '.$key.' '.$value.' type='.$extrafields->attributes[$this->table_element]['type'][$key].' '.$this->array_options["options_".$key]);
|
||||
}
|
||||
if (!empty($extrafields->attributes[$this->table_element]['type'][$key]) && $extrafields->attributes[$this->table_element]['type'][$key] == 'password') {
|
||||
if (preg_match('/^dolcrypt:/', $value)) {
|
||||
if (!empty($value) && preg_match('/^dolcrypt:/', $value)) {
|
||||
$this->array_options["options_".$key] = dolDecrypt($value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user