Prechádzať zdrojové kódy

fixed TableAcl fields init flag from cache

Piotr Labudda 8 rokov pred
rodič
commit
16f537a8be
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      SE/se-lib/TableAcl.php

+ 2 - 2
SE/se-lib/TableAcl.php

@@ -1434,7 +1434,7 @@ class TableAcl extends Core_AclBase {
 		$this->_rootTableName = V::get('_rootTableName', null, $arr);
 		$this->_label = $arr['label'];
 		$this->_opis = $arr['opis'];
-		$this->_executed_fieldsInit = V::get('_executed_fieldsInit', null, $arr);
+		$this->_executed_fieldsInit = null; // V::get('_executed_fieldsInit', null, $arr);
 		$this->_fields = V::get('fields', array(), $arr);
 		$this->_virtualFieldsIdList = V::get('virtualFieldsIdList', array(), $arr);
 		$this->_types = V::get('types', array(), $arr);
@@ -1447,7 +1447,7 @@ class TableAcl extends Core_AclBase {
 		$arr['_rootTableName'] = $this->_rootTableName;
 		$arr['label'] = $this->_label;
 		$arr['opis'] = $this->_opis;
-		if ($this->_executed_fieldsInit) $arr['_executed_fieldsInit'] = $this->_executed_fieldsInit;
+		// if ($this->_executed_fieldsInit) $arr['_executed_fieldsInit'] = $this->_executed_fieldsInit;
 		$arr['fields'] = $this->_fields;
 		$arr['virtualFieldsIdList'] = $this->_virtualFieldsIdList;
 		$arr['types'] = $this->_types;