Explorar o código

fix field info in AntAcl::getRealFieldList

Piotr Labudda %!s(int64=8) %!d(string=hai) anos
pai
achega
21afebbabc
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;