Update of /cvsroot/netpass/NetPass/www/htdocs/Admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25923/www/htdocs/Admin
Modified Files:
qc.mhtml
Log Message:
bug fix
Index: qc.mhtml
===================================================================
RCS file: /cvsroot/netpass/NetPass/www/htdocs/Admin/qc.mhtml,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- qc.mhtml 3 Jun 2005 15:13:20 -0000 1.23
+++ qc.mhtml 11 Aug 2005 00:04:45 -0000 1.24
@@ -608,8 +608,9 @@
next;
}
- if ( !$isRoot && !grep(/^$nw$/, @$rwGroups) && !grep(/^$netgroup$/, @$rwGroups) ) {
- print qq{<P class='error'>Update failed for $mac because you don't have the proper permissions for it's network ($nw)</P>};
+ if ( !$isRoot && !grep(/^default$/, @$rwGroups) && !grep(/^$nw$/, @$rwGroups) && !grep(/^$netgroup$/, @$rwGroups) ) {
+ my $jjj = join(',', @$rwGroups);
+ print qq{<P class='error'>Update failed for $mac because you don't have the proper permissions for it's network ($nw, $jjj, $netgroup)</P>};
next;
}
|