ispman/lib/ISPMan LDAP.pm,1.80,1.81 Utils.pm,1.23,1.24
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/lib/ISPMan
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv3832/lib/ISPMan
Modified Files:
LDAP.pm Utils.pm
Log Message:
fixed [ 1495796 ] setting defaultUserFtpQuota to 0 generates an error
Index: LDAP.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/LDAP.pm,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- LDAP.pm 5 Jun 2004 12:45:24 -0000 1.80
+++ LDAP.pm 27 May 2006 15:10:51 -0000 1.81
@@ -811,7 +811,7 @@
my $self = shift;
my $entry = shift;
for ( $entry->attributes() ) {
- if ( $entry->get_value($_) ) {
+ if ( defined($entry->get_value($_)) ) {
#print "$_: ", $entry->get_value($_), "<br>";
}
Index: Utils.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/Utils.pm,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- Utils.pm 20 Jun 2004 12:48:13 -0000 1.23
+++ Utils.pm 27 May 2006 15:10:51 -0000 1.24
@@ -483,7 +483,7 @@
else {
# don't add if $_ is undef
- push @l, $_ if $_;
+ push @l, $_ if defined($_);
}
}
return @l;
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642