Browse Source

fix bug in ACL Reinstall

Piotr Labudda 6 năm trước cách đây
mục cha
commit
a992939f13

+ 2 - 0
SE/se-lib/Route/Storage/AclReinstall.php

@@ -296,6 +296,8 @@ class Route_Storage_AclReinstall extends RouteBase {
 			UI::alert('warning', $e->getMessage());
 			UI::alert('warning', $e->getMessage());
 		}
 		}
 
 
+		$item = SchemaFactory::loadDefaultObject('SystemObject')->getItem($namespace, [ 'propertyName' => '*,field' ]);
+
 		$childRefList = RefConfig::getChildRefFullList($namespace);
 		$childRefList = RefConfig::getChildRefFullList($namespace);
 		DBG::nicePrint($childRefList, '$childRefList');
 		DBG::nicePrint($childRefList, '$childRefList');
 		DBG::nicePrint($item, '$item');
 		DBG::nicePrint($item, '$item');