1 |
snetram |
1.1 |
--- smeserver-subversion-1.4/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28SubversionContent.SanitizeGroupMemberExpansion 2008-02-25 23:38:30.000000000 +0100 |
2 |
|
|
+++ smeserver-subversion-1.4/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28SubversionContent 2008-02-25 23:49:21.000000000 +0100 |
3 |
|
|
@@ -129,11 +129,17 @@ |
4 |
|
|
|
5 |
|
|
foreach my $groupRead (@groupsRead) { |
6 |
|
|
|
7 |
|
|
- my $membersRead = $db_accounts->get_prop($groupRead, 'Members') || ""; |
8 |
|
|
+ my $record = $db_accounts->get($groupRead); |
9 |
|
|
|
10 |
|
|
- if (length($membersRead) > 0) { |
11 |
|
|
+ if ($record) { |
12 |
|
|
|
13 |
|
|
- push @listRead, split (/,/, $membersRead); |
14 |
|
|
+ my $membersRead = $record->prop('Members') || ""; |
15 |
|
|
+ |
16 |
|
|
+ if (length($membersRead) > 0) { |
17 |
|
|
+ |
18 |
|
|
+ push @listRead, split (/,/, $membersRead); |
19 |
|
|
+ |
20 |
|
|
+ } |
21 |
|
|
|
22 |
|
|
} |
23 |
|
|
|
24 |
|
|
@@ -170,11 +176,17 @@ |
25 |
|
|
|
26 |
|
|
foreach my $groupWrite (@groupsWrite) { |
27 |
|
|
|
28 |
|
|
- my $membersWrite = $db_accounts->get_prop($groupWrite, 'Members') || ""; |
29 |
|
|
+ my $record = $db_accounts->get($groupRead); |
30 |
|
|
|
31 |
|
|
- if (length($membersWrite) > 0) { |
32 |
|
|
+ if ($record) { |
33 |
|
|
|
34 |
|
|
- push @listWrite, split (/,/, $membersWrite); |
35 |
|
|
+ my $membersWrite = $record->prop('Members') || ""; |
36 |
|
|
+ |
37 |
|
|
+ if (length($membersWrite) > 0) { |
38 |
|
|
+ |
39 |
|
|
+ push @listWrite, split (/,/, $membersWrite); |
40 |
|
|
+ |
41 |
|
|
+ } |
42 |
|
|
|
43 |
|
|
} |
44 |
|
|
|