Commit d3ddef7421a064a4b61ee6225537f53a1e6d1a3b

Authored by Alex Savenko
1 parent 9a0214dd

test

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/library/App/Controllers/ProjectController.php
... ... @@ -48,7 +48,7 @@ class ProjectController extends CrudResourceController {
48 48 $phqlBuilder = $this->phqlQueryParser->fromQuery($this->query, $this->getResource());
49 49  
50 50 $phqlBuilder
51   - ->andWhere('[' . $this->getResource()->getModel() . '].' . $this->getModelPrimaryKey() . ' = '.$id);
  51 + ->andWhere('[' . $this->getResource()->getModel() . '].' . 'id = '.$id);
52 52 var_dump($phqlBuilder);die();
53 53  
54 54 $this->modifyReadQuery($phqlBuilder);
... ...