@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | p.id, p.title, p.body, p.summary, p.tags, p.createdById, p.createdByName, p.createdAt, p.updatedAt, p.version |
87 | 87 | ) from $postClass p where p.deletedAt is null"; |
88 | 88 | if ($from != null) { |
89 | - $dql = $dql . " and p.createdAt >= :from"; |
|
89 | + $dql = $dql." and p.createdAt >= :from"; |
|
90 | 90 | } |
91 | 91 | $query = $this->getEntityManager()->createQuery( |
92 | 92 | $dql |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | $postClass = Post::class; |
107 | 107 | $dql = "select p.id as postId from $postClass p where p.deletedAt is not null"; |
108 | 108 | if ($from != null) { |
109 | - $dql = $dql . " and p.deletedAt >= :from"; |
|
109 | + $dql = $dql." and p.deletedAt >= :from"; |
|
110 | 110 | } |
111 | 111 | $query = $this->getEntityManager()->createQuery( |
112 | 112 | $dql |