Просмотр исходного кода

fixed change refconfig in acl struct

Piotr Labudda 8 лет назад
Родитель
Сommit
914db4588c
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      SE/se-lib/Route/Storage/AclStruct.php

+ 1 - 0
SE/se-lib/Route/Storage/AclStruct.php

@@ -558,6 +558,7 @@ class Route_Storage_AclStruct extends RouteBase {
 		}
 
 		if ('setFieldRefConfig' === V::get('_postTask', '', $_POST)) {
+			$objectNamespace = $namespace;
 			$childTypeName = V::get('field', '', $_POST);
 			$source = V::get('source', '', $_POST);
 			$toUpdateField = array_filter($item['field'], function ($field) use ($childTypeName) { return ($childTypeName === $field['fieldNamespace']); });