Explorar o código

fixed TableAcl fields init flag from cache

Piotr Labudda %!s(int64=8) %!d(string=hai) anos
pai
achega
16f537a8be
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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->_rootTableName = V::get('_rootTableName', null, $arr);
 		$this->_label = $arr['label'];
 		$this->_label = $arr['label'];
 		$this->_opis = $arr['opis'];
 		$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->_fields = V::get('fields', array(), $arr);
 		$this->_virtualFieldsIdList = V::get('virtualFieldsIdList', array(), $arr);
 		$this->_virtualFieldsIdList = V::get('virtualFieldsIdList', array(), $arr);
 		$this->_types = V::get('types', array(), $arr);
 		$this->_types = V::get('types', array(), $arr);
@@ -1447,7 +1447,7 @@ class TableAcl extends Core_AclBase {
 		$arr['_rootTableName'] = $this->_rootTableName;
 		$arr['_rootTableName'] = $this->_rootTableName;
 		$arr['label'] = $this->_label;
 		$arr['label'] = $this->_label;
 		$arr['opis'] = $this->_opis;
 		$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['fields'] = $this->_fields;
 		$arr['virtualFieldsIdList'] = $this->_virtualFieldsIdList;
 		$arr['virtualFieldsIdList'] = $this->_virtualFieldsIdList;
 		$arr['types'] = $this->_types;
 		$arr['types'] = $this->_types;