fixed typo

This commit is contained in:
Rudi Grinberg 2012-07-13 14:54:04 -04:00 committed by Martin Konecny
parent 9f1ec3c05c
commit 0fd6c4adbf
1 changed files with 2 additions and 2 deletions

View File

@ -550,8 +550,8 @@ class ApiController extends Zend_Controller_Action
//The key does not have any meaning as of yet but it could potentially correspond //The key does not have any meaning as of yet but it could potentially correspond
//to some unique id. //to some unique id.
$responses = array(); $responses = array();
foreach ($request->getRequest()->getParams() as $action => $info_json) { foreach ($request->getRequest()->getParams() as $action => $raw_json) {
$json = json_decode($info_json, $assoc=true); $info_json = json_decode($raw_json, $assoc=true);
array_push($responses, $this->dispatchMetaDataAction($info_json, $info_json['mode'])); array_push($responses, $this->dispatchMetaDataAction($info_json, $info_json['mode']));
} }
// TODO : do something with $responses here instead of doing nothing // TODO : do something with $responses here instead of doing nothing