fix(acl): fix folder path

This commit is contained in:
Hivert Quentin
2026-04-21 13:52:19 +02:00
parent f9b71059f4
commit d902756aaf
+1 -2
View File
@@ -1871,6 +1871,7 @@ static NSArray *childRecordFields = nil;
[adaptorCtx beginTransaction];
userRoles = [roles objectEnumerator];
objectPath = [NSString stringWithFormat: @"/%@", objectPath];
while ((currentRole = [userRoles nextObject]))
{
int i = 0;
@@ -1878,7 +1879,6 @@ static NSArray *childRecordFields = nil;
adaptor = [adaptorCtx adaptor];
attribute = [EOAttribute new];
[attribute autorelease];
objectPath = [NSString stringWithFormat: @"/%@", objectPath];
if ([GCSFolderManager singleStoreMode])
{
sqlstr = [NSMutableString stringWithFormat: @"INSERT INTO %@"
@@ -1928,7 +1928,6 @@ static NSArray *childRecordFields = nil;
}
[sqlstr appendString:@")"];
}
[channel evaluateExpressionX: sqlstr];
}