From svnnotify ¡÷ sourceforge.jp Fri Aug 8 14:50:30 2008 From: svnnotify ¡÷ sourceforge.jp (svnnotify ¡÷ sourceforge.jp) Date: Fri, 08 Aug 2008 14:50:30 +0900 Subject: [Slashdotjp-dev 1206] [733] Fix LDAP.pm DEBUG_LEVEL warning Message-ID: <1218174630.907435.11751.nullmailer@users.sourceforge.jp> Revision: 733 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=733 Author: tach Date: 2008-08-08 14:50:30 +0900 (Fri, 08 Aug 2008) Log Message: ----------- Fix LDAP.pm DEBUG_LEVEL warning Modified Paths: -------------- slashjp/branches/2.5.0.192/Slash/LDAPDB/lib/Slash/LDAPDB.pm slashjp/branches/2.5.0.192/debian/changelog -------------- next part -------------- Modified: slashjp/branches/2.5.0.192/Slash/LDAPDB/lib/Slash/LDAPDB.pm =================================================================== --- slashjp/branches/2.5.0.192/Slash/LDAPDB/lib/Slash/LDAPDB.pm 2008-07-30 09:44:13 UTC (rev 732) +++ slashjp/branches/2.5.0.192/Slash/LDAPDB/lib/Slash/LDAPDB.pm 2008-08-08 05:50:30 UTC (rev 733) @@ -55,7 +55,7 @@ @_ }; bless $self, $class; - $DEBUG_LEVEL = $constants->{ldap_debug_level} >= 0 ? $constants->{ldap_debug_level} : $DEBUG_LEVEL; + $DEBUG_LEVEL = $constants->{ldap_debug_level} ? int($constants->{ldap_debug_level}) : $DEBUG_LEVEL; if (!$self->{_disabled} && !($self->{_ldap} = Net::LDAP->new($self->{host}, timeout => $self->{timeout}))){ Modified: slashjp/branches/2.5.0.192/debian/changelog =================================================================== --- slashjp/branches/2.5.0.192/debian/changelog 2008-07-30 09:44:13 UTC (rev 732) +++ slashjp/branches/2.5.0.192/debian/changelog 2008-08-08 05:50:30 UTC (rev 733) @@ -6,8 +6,9 @@ - you can access old URL * Add /faq/ internal redirection at Slash/Apache/Apache.pm - This code is for slash-plugin-wikicontents + * Fix LDAP.pm DEBUG_LEVEL warning - -- Taku YASUI Fri, 25 Jul 2008 14:36:41 +0000 + -- Taku YASUI Fri, 08 Aug 2008 14:49:59 +0900 slash (2.5.0.192-16) unstable; urgency=low