[Rt-commit] r19415 - rt/3.8/trunk/lib/RT/Search

falcone at bestpractical.com falcone at bestpractical.com
Mon May 4 09:21:04 EDT 2009


Author: falcone
Date: Mon May  4 09:21:03 2009
New Revision: 19415

Modified:
   rt/3.8/trunk/lib/RT/Search/Googleish.pm

Log:
Typo fix from wes at barely3am.com

Use the correct variable when quoting the QueueObj's Name

RT-Ticket: 13444
RT-Action: Correspond
RT-Status: Resolved

Modified: rt/3.8/trunk/lib/RT/Search/Googleish.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Search/Googleish.pm	(original)
+++ rt/3.8/trunk/lib/RT/Search/Googleish.pm	Mon May  4 09:21:03 2009
@@ -168,7 +168,7 @@
     for my $queue (@{ $self->{'Queues'} }) {
         my $QueueObj = RT::Queue->new($self->TicketsObj->CurrentUser);
         $QueueObj->Load($queue) or next;
-        my $quoted_queue = $Queue->Name;
+        my $quoted_queue = $QueueObj->Name;
         $quoted_queue =~ s/'/\\'/g;
         push @queue_clauses, "Queue = '$quoted_queue'";
     }


More information about the Rt-commit mailing list