|
@@ -158,7 +158,7 @@ discard block |
|
|
block discarded – undo |
|
158
|
158
|
if ($relatedList && $relatedList->method) { |
|
159
|
159
|
// Related list method |
|
160
|
160
|
$method = $relatedList->method; |
|
161
|
|
- $recordIdsMethod = $method . 'RecordIds'; |
|
|
161
|
+ $recordIdsMethod = $method.'RecordIds'; |
|
162
|
162
|
|
|
163
|
163
|
// Get related records ids |
|
164
|
164
|
$model = new $modelClass; |
|
@@ -166,7 +166,7 @@ discard block |
|
|
block discarded – undo |
|
166
|
166
|
|
|
167
|
167
|
// Add the record id itself to be filtered |
|
168
|
168
|
if ($relatedList->related_module_id === $module->id && !empty($recordId) && !$filteredRecordIds->contains($recordId)) { |
|
169
|
|
- $filteredRecordIds[] = (int)$recordId; |
|
|
169
|
+ $filteredRecordIds[ ] = (int)$recordId; |
|
170
|
170
|
} |
|
171
|
171
|
|
|
172
|
172
|
// Make the query |
Please login to merge, or discard this patch.