mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-28 10:53:40 +03:00
Replace occurrences to the non-used id_categories field
This commit is contained in:
parent
f7ac615026
commit
1b22f90b6a
1 changed files with 4 additions and 4 deletions
|
@ -132,11 +132,11 @@ class Services extends EA_Controller {
|
||||||
'availabilities_type',
|
'availabilities_type',
|
||||||
'attendants_number',
|
'attendants_number',
|
||||||
'is_private',
|
'is_private',
|
||||||
'id_categories',
|
'id_service_categories',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->services_model->optional($service, [
|
$this->services_model->optional($service, [
|
||||||
'id_categories' => NULL
|
'id_service_categories' => NULL
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$service_id = $this->services_model->save($service);
|
$service_id = $this->services_model->save($service);
|
||||||
|
@ -182,11 +182,11 @@ class Services extends EA_Controller {
|
||||||
'availabilities_type',
|
'availabilities_type',
|
||||||
'attendants_number',
|
'attendants_number',
|
||||||
'is_private',
|
'is_private',
|
||||||
'id_categories',
|
'id_service_categories',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->services_model->optional($service, [
|
$this->services_model->optional($service, [
|
||||||
'id_categories' => NULL
|
'id_service_categories' => NULL
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$service_id = $this->services_model->save($service);
|
$service_id = $this->services_model->save($service);
|
||||||
|
|
Loading…
Reference in a new issue