浏览代码

fix field info in AntAcl::getRealFieldList

Piotr Labudda 8 年之前
父节点
当前提交
21afebbabc
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      SE/se-lib/AntAclBase.php

+ 1 - 0
SE/se-lib/AntAclBase.php

@@ -125,6 +125,7 @@ class AntAclBase extends Core_AclBase {
 		return $cols;
 	}
 	public function getRealFieldList() {
+		$this->_fetchInfoFromZasobyIfNeeded();
 		$pkField = $this->getPrimaryKeyField();
 		$cols = array_merge([ $pkField ], array_filter($this->getLocalFieldList(), function ($fieldName) use ($pkField) {
 			if ($pkField === $fieldName) return false;