Ver código fonte

fixed bug in save user settings for objects in TableAjax

Piotr Labudda 8 anos atrás
pai
commit
b6180c89ed
2 arquivos alterados com 4 adições e 1 exclusões
  1. 3 0
      SE/se-lib/AntAclBase.php
  2. 1 1
      SE/se-lib/TableAcl.php

+ 3 - 0
SE/se-lib/AntAclBase.php

@@ -294,4 +294,7 @@ class AntAclBase extends Core_AclBase {
 		return $this->_getField($fieldName)['isLocal'];
 	}
 
+	public function init($force = false) { }
+	public function isInitialized($force = false) { return true; }
+
 }

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

@@ -940,7 +940,7 @@ class TableAcl extends Core_AclBase {
 				if (empty($objectList)) throw new Exception("Acl [{$idTable}] not exists in SystemObject"); // TODO: update Storage object list?
 
 				$objItem = reset($objectList);
-				DBG::log($objItem, 'array', "DBG objItem({$namespace})");
+				DBG::log($objItem, 'array', "DBG objItem({$idTable})");
 				if (!in_array($objItem['_type'], [
 					// 'TableAcl', // TODO: TEST - to replace TableAcl by AntAcl or use object with namespace + '/tableName'?
 					'AntAcl',