Browse Source

small code improvement

Maurits van der Schee 6 years ago
parent
commit
74045becf5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      api.php

+ 1
- 1
api.php View File

@@ -1908,7 +1908,7 @@ class PHP_CRUD_API {
1908 1908
 		// reflection
1909 1909
 		list($tables,$collect,$select) = $this->findRelations($tables,$database,$auto_include);
1910 1910
 		$allFields = $this->findFields($tables,$database);
1911
-		$fields = $this->limitFields($allFields,$columns,$exclude,$select,$database);
1911
+		$fields = $this->limitFields($allFields,$columns,$exclude,$select);
1912 1912
 		
1913 1913
 		// permissions
1914 1914
 		if ($table_authorizer) $this->applyTableAuthorizer($table_authorizer,$action,$database,$tables);

Loading…
Cancel
Save