Skip Menu |

This queue is for tickets about the RTx-EmailCompletion CPAN distribution.

Report information
The Basics
Id: 50335
Status: resolved
Priority: 0/
Queue: RTx-EmailCompletion

People
Owner: Nobody in particular
Requestors: dom [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.06
Fixed in: (no value)



Subject: Logs debugging information even when DEBUG=0
Patch to fix this attached. Cheers, Dominic.
Subject: debug.patch
diff -urN RTx-EmailCompletion-0.06.sasl/lib/RTx/EmailCompletion.pm RTx-EmailCompletion-0.06.debug/lib/RTx/EmailCompletion.pm --- RTx-EmailCompletion-0.06.sasl/lib/RTx/EmailCompletion.pm 2009-10-08 13:19:21.000000000 +0100 +++ RTx-EmailCompletion-0.06.debug/lib/RTx/EmailCompletion.pm 2009-10-08 15:33:49.000000000 +0100 @@ -20,7 +20,7 @@ $Users->Limit(SUBCLAUSE => 'EmailCompletion', ALIAS => 'main', FIELD => $field, OPERATOR => $RT::EmailCompletionSearch, VALUE => $Email, ENTRYAGGREGATOR => 'OR'); } - $RT::Logger->debug($Users->BuildSelectQuery); + $RT::Logger->debug($Users->BuildSelectQuery) if DEBUG; my @users; while (my $User = $Users->Next()) {
Patch failed to apply, but applied manually