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

This commit is contained in:
Maurits van der Schee 2016-06-02 00:27:21 +02:00
commit 81e0123006

View file

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