The "id_categories" columnn is optional
This commit is contained in:
parent
f7be8a1e1d
commit
d1e1000cb4
1 changed files with 0 additions and 2 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue