|
@@ -1468,6 +1468,7 @@ class TableAcl extends Core_AclBase {
|
|
|
$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);
|
|
|
|
|
+ if (!empty($arr['_sourceNamespace'])) $this->_sourceNamespace = $arr['_sourceNamespace'];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public function toArray() {
|
|
public function toArray() {
|
|
@@ -1481,6 +1482,7 @@ class TableAcl extends Core_AclBase {
|
|
|
$arr['fields'] = $this->_fields;
|
|
$arr['fields'] = $this->_fields;
|
|
|
$arr['virtualFieldsIdList'] = $this->_virtualFieldsIdList;
|
|
$arr['virtualFieldsIdList'] = $this->_virtualFieldsIdList;
|
|
|
$arr['types'] = $this->_types;
|
|
$arr['types'] = $this->_types;
|
|
|
|
|
+ if ('default_db' !== $this->_sourceNamespace) $arr['_sourceNamespace'] = $this->_sourceNamespace;
|
|
|
return $arr;
|
|
return $arr;
|
|
|
}
|
|
}
|
|
|
|
|
|