Maurits van der Schee 8 years ago
parent
commit
350b3376f3
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      api.php

+ 1
- 0
api.php View File

1620
 			
1620
 			
1621
 			foreach (array('root_actions','id_actions') as $path) {
1621
 			foreach (array('root_actions','id_actions') as $path) {
1622
 				foreach ($table[$path] as $i=>$action) {
1622
 				foreach ($table[$path] as $i=>$action) {
1623
+					$table_list = array($table['name']);
1623
 					$fields = $table_fields;
1624
 					$fields = $table_fields;
1624
 					if ($table_authorizer) $this->applyTableAuthorizer($table_authorizer,$action['name'],$database,$table_list);
1625
 					if ($table_authorizer) $this->applyTableAuthorizer($table_authorizer,$action['name'],$database,$table_list);
1625
 					if ($column_authorizer) $this->applyColumnAuthorizer($column_authorizer,$action['name'],$database,$fields);
1626
 					if ($column_authorizer) $this->applyColumnAuthorizer($column_authorizer,$action['name'],$database,$fields);

Loading…
Cancel
Save