fix silly mistake with echoing json twice
This commit is contained in:
parent
f2564cf732
commit
ca22a25827
|
@ -351,7 +351,7 @@ class ApiController extends Zend_Controller_Action
|
|||
$data = Application_Model_Schedule::getSchedule();
|
||||
header("Content-Type: application/json");
|
||||
|
||||
echo json_encode($data, JSON_FORCE_OBJECT);
|
||||
$data = json_encode($data, JSON_FORCE_OBJECT);
|
||||
$this->_helper->json->sendJson($data, false, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue