浏览代码

Merge branch 'master' of github.com:mevdschee/php-crud-api

Maurits van der Schee 8 年前
父节点
当前提交
81e0123006
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      api.php

+ 1
- 0
api.php 查看文件

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

正在加载...
取消
保存