[pve-devel] r6305 - pve-access-control/trunk/PVE
svn-commits at proxmox.com
svn-commits at proxmox.com
Fri Jul 15 06:18:11 CEST 2011
Author: dietmar
Date: 2011-07-15 06:18:11 +0200 (Fri, 15 Jul 2011)
New Revision: 6305
Modified:
pve-access-control/trunk/PVE/AccessControl.pm
Log:
use encode_text from PVE::Tools
Modified: pve-access-control/trunk/PVE/AccessControl.pm
===================================================================
--- pve-access-control/trunk/PVE/AccessControl.pm 2011-07-14 12:13:24 UTC (rev 6304)
+++ pve-access-control/trunk/PVE/AccessControl.pm 2011-07-15 04:18:11 UTC (rev 6305)
@@ -1065,7 +1065,7 @@
foreach my $group (keys %{$cfg->{groups}}) {
my $d = $cfg->{groups}->{$group};
my $list = join (',', keys %{$d->{users}});
- my $comment = $d->{comment} ? encode_text($d->{comment}) : '';
+ my $comment = $d->{comment} ? PVE::Tools::encode_text($d->{comment}) : '';
$data .= "group:$group:$list:$comment:\n";
}
More information about the pve-devel
mailing list