fixed highly critical bug in DataController
This commit is contained in:
parent
4a7323998b
commit
0ad0046d40
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue