Correct the field filtering

This commit is contained in:
Alex Tselegidis 2023-04-15 14:33:40 +02:00
parent 46a865300e
commit 6fc45c3368

View file

@ -152,7 +152,7 @@ class Secretaries extends EA_Controller {
'is_private', 'is_private',
'id_roles', 'id_roles',
'settings', 'settings',
'secretaries', 'providers',
]); ]);
$this->secretaries_model->only($secretary['settings'], [ $this->secretaries_model->only($secretary['settings'], [
@ -214,7 +214,7 @@ class Secretaries extends EA_Controller {
'is_private', 'is_private',
'id_roles', 'id_roles',
'settings', 'settings',
'secretaries', 'providers',
]); ]);
$this->secretaries_model->only($secretary['settings'], [ $this->secretaries_model->only($secretary['settings'], [