@@ -182,9 +182,9 @@ discard block |
||
| 182 | 182 | |
| 183 | 183 | $db = $this->recordManager->find(strtolower((string) $parts[1])); |
| 184 | 184 | $db->where($this->getName().'_id = :id') |
| 185 | - ->setParameter('id', $this->__meta['id'], |
|
| 186 | - $this->determineIdType($this->__meta['id']) |
|
| 187 | - ); |
|
| 185 | + ->setParameter('id', $this->__meta['id'], |
|
| 186 | + $this->determineIdType($this->__meta['id']) |
|
| 187 | + ); |
|
| 188 | 188 | |
| 189 | 189 | $result = $db->get(); |
| 190 | 190 | $this->set($key, $result); |
@@ -203,9 +203,9 @@ discard block |
||
| 203 | 203 | |
| 204 | 204 | $db = $this->recordManager->find($relTable); |
| 205 | 205 | $db->where($this->getName().'_id = :id') |
| 206 | - ->setParameter('id', $this->__meta['id'], |
|
| 207 | - $this->determineIdType($this->__meta['id']) |
|
| 208 | - ); |
|
| 206 | + ->setParameter('id', $this->__meta['id'], |
|
| 207 | + $this->determineIdType($this->__meta['id']) |
|
| 208 | + ); |
|
| 209 | 209 | |
| 210 | 210 | $relations = $db->get(); |
| 211 | 211 | $relIds = $this->extractRelationIds($relations, $targetTable); |
@@ -216,9 +216,9 @@ discard block |
||
| 216 | 216 | |
| 217 | 217 | $db = $this->recordManager->find($targetTable); |
| 218 | 218 | $db->where('id IN (:ids)') |
| 219 | - ->setParameter('ids', $relIds, |
|
| 220 | - $this->determineIdsType($relIds) |
|
| 221 | - ); |
|
| 219 | + ->setParameter('ids', $relIds, |
|
| 220 | + $this->determineIdsType($relIds) |
|
| 221 | + ); |
|
| 222 | 222 | |
| 223 | 223 | $result = $db->get(); |
| 224 | 224 | |