Browse Source

fix field info in AntAcl::getRealFieldList

Piotr Labudda 8 years ago
parent
commit
21afebbabc
1 changed files with 1 additions and 0 deletions
  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;