The "id_categories" columnn is optional

This commit is contained in:
Alex Tselegidis 2023-04-24 10:13:44 +02:00
parent f7be8a1e1d
commit d1e1000cb4

View file

@ -121,8 +121,6 @@ class Services extends EA_Controller {
$service = request('service'); $service = request('service');
$service['id_categories'] = $service['id_categories'] ?: NULL;
$this->services_model->only($service, [ $this->services_model->only($service, [
'name', 'name',
'duration', 'duration',