fixed highly critical bug in DataController

This commit is contained in:
Steffen Vogel 2011-01-16 00:33:52 +01:00
parent 4a7323998b
commit 0ad0046d40
3 changed files with 3 additions and 3 deletions

View file

@ -72,7 +72,7 @@ class DataController extends Controller {
$ec = new EntityController($this->view, $this->em);
$entity = $ec->get($identifiers[0]);
$this->{$operation}($entity);
return $this->{$operation}($entity);
}
}

View file

@ -56,7 +56,7 @@ abstract class Interpreter implements InterpreterInterface {
*/
public function __construct(Model\Channel $channel, ORM\EntityManager $em, $from, $to) {
$this->channel = $channel;
// get dbal connection from EntityManager
$this->conn = $em->getConnection();

View file

@ -88,7 +88,7 @@ class Debug {
'file' => $info['file'],
'line' => $info['line'],
//'time' => date('r'),
'args' => array_slice($info['args'], 1),
'args' => array_slice($info['args'], 1)
//'trace' => array_slice($trace, 1)
);
}