mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 01:12:21 +03:00
Decode the status prop
This commit is contained in:
parent
105e522973
commit
492a49f2b3
1 changed files with 4 additions and 0 deletions
|
@ -583,6 +583,10 @@ class Appointments_model extends EA_Model
|
||||||
$decoded_request['location'] = $appointment['location'];
|
$decoded_request['location'] = $appointment['location'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (array_key_exists('status', $appointment)) {
|
||||||
|
$decoded_request['status'] = $appointment['status'];
|
||||||
|
}
|
||||||
|
|
||||||
if (array_key_exists('notes', $appointment)) {
|
if (array_key_exists('notes', $appointment)) {
|
||||||
$decoded_request['notes'] = $appointment['notes'];
|
$decoded_request['notes'] = $appointment['notes'];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue