debugbar is breaking my JSON? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: debugbar is breaking my JSON? (/showthread.php?tid=79077) |
debugbar is breaking my JSON? - QuasarTheDragon - 04-17-2021 I'm trying to retrieve data for my calendar but for some reason I get this response Code: [{"title":"aaa22","start":"2021-04-01","end":"2021-04-01","id":"4"},{"title":"aaaeeee","start":"2021-03-30","end":"2021-03-30","id":"48"},{"title":"beep boop","start":"2021-03-31","end":"2021-03-31","id":"54"},{"title":"lorem ipsum edit","start":"2021-04-06","end":"2021-04-06","id":"55"}] Controller: PHP Code: function get_activities() Model: PHP Code: function get_activities($data) RE: debugbar is breaking my JSON? - InsiteFX - 04-17-2021 app/Config/Boot/development.php CI_DEBUG = false; RE: debugbar is breaking my JSON? - QuasarTheDragon - 04-17-2021 (04-17-2021, 12:04 PM)InsiteFX Wrote: app/Config/Boot/development.phpYup, that fixed it. Thanks! |