@@ -179,9 +179,9 @@ discard block |
||
| 179 | 179 | |
| 180 | 180 | $db = $this->recordManager->find(strtolower((string) $parts[1])); |
| 181 | 181 | $db->where($this->getName() . '_id = :id') |
| 182 | - ->setParameter('id', $this->__meta['id'], |
|
| 182 | + ->setParameter('id', $this->__meta['id'], |
|
| 183 | 183 | $this->determineIdType($this->__meta['id']) |
| 184 | - ); |
|
| 184 | + ); |
|
| 185 | 185 | |
| 186 | 186 | $result = $db->get(); |
| 187 | 187 | $this->set($key, $result); |
@@ -200,9 +200,9 @@ discard block |
||
| 200 | 200 | |
| 201 | 201 | $db = $this->recordManager->find($relTable); |
| 202 | 202 | $db->where($this->getName() . '_id = :id') |
| 203 | - ->setParameter('id', $this->__meta['id'], |
|
| 203 | + ->setParameter('id', $this->__meta['id'], |
|
| 204 | 204 | $this->determineIdType($this->__meta['id']) |
| 205 | - ); |
|
| 205 | + ); |
|
| 206 | 206 | |
| 207 | 207 | $relations = $db->get(); |
| 208 | 208 | $relIds = $this->extractRelationIds($relations, $targetTable); |
@@ -213,9 +213,9 @@ discard block |
||
| 213 | 213 | |
| 214 | 214 | $db = $this->recordManager->find($targetTable); |
| 215 | 215 | $db->where('id IN (:ids)') |
| 216 | - ->setParameter('ids', $relIds, |
|
| 216 | + ->setParameter('ids', $relIds, |
|
| 217 | 217 | $this->determineIdsType($relIds) |
| 218 | - ); |
|
| 218 | + ); |
|
| 219 | 219 | |
| 220 | 220 | $result = $db->get(); |
| 221 | 221 | |