Sfoglia il codice sorgente

fix field info in AntAcl::getRealFieldList

Piotr Labudda 8 anni fa
parent
commit
21afebbabc
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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;