Skip to content

Commit addb094

Browse files
committed
improve code style
1 parent 8f2da3c commit addb094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1908,13 +1908,13 @@ protected function getParameters($settings) {
19081908
// reflection
19091909
list($tables,$collect,$select) = $this->findRelations($tables,$database,$auto_include);
19101910
$allFields = $this->findFields($tables,$database);
1911-
if ($tenancy_function) $this->applyTenancyFunction($tenancy_function,$action,$database,$allFields,$filters);
19121911
$fields = $this->limitFields($allFields,$columns,$exclude,$select,$database);
19131912

19141913
// permissions
19151914
if ($table_authorizer) $this->applyTableAuthorizer($table_authorizer,$action,$database,$tables);
19161915
if (!isset($tables[0])) $this->exitWith404('entity');
19171916
if ($record_filter) $this->applyRecordFilter($record_filter,$action,$database,$tables,$filters);
1917+
if ($tenancy_function) $this->applyTenancyFunction($tenancy_function,$action,$database,$allFields,$filters);
19181918
if ($column_authorizer) $this->applyColumnAuthorizer($column_authorizer,$action,$database,$fields);
19191919

19201920
// input

0 commit comments

Comments
 (0)