mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-28 10:53:40 +03:00
The content array must be encoded before returned
This commit is contained in:
parent
c495cd8225
commit
c1db2b636c
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ if ( ! function_exists('json_response'))
|
|||
->output
|
||||
->set_status_header($status)
|
||||
->set_content_type('application/json')
|
||||
->set_output($content);
|
||||
->set_output(json_encode($content));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue