Explorar el Código

fixed change refconfig in acl struct

Piotr Labudda hace 8 años
padre
commit
914db4588c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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)) {
 		if ('setFieldRefConfig' === V::get('_postTask', '', $_POST)) {
+			$objectNamespace = $namespace;
 			$childTypeName = V::get('field', '', $_POST);
 			$childTypeName = V::get('field', '', $_POST);
 			$source = V::get('source', '', $_POST);
 			$source = V::get('source', '', $_POST);
 			$toUpdateField = array_filter($item['field'], function ($field) use ($childTypeName) { return ($childTypeName === $field['fieldNamespace']); });
 			$toUpdateField = array_filter($item['field'], function ($field) use ($childTypeName) { return ($childTypeName === $field['fieldNamespace']); });