[Rt-commit] r3244 - in rt/branches/3.4-RELEASE: . html/Elements

alexmv at bestpractical.com alexmv at bestpractical.com
Thu Jun 23 17:37:31 EDT 2005


Author: alexmv
Date: Thu Jun 23 17:37:31 2005
New Revision: 3244

Modified:
   rt/branches/3.4-RELEASE/   (props changed)
   rt/branches/3.4-RELEASE/html/Elements/Quicksearch
Log:
 r4481 at zoq-fot-pik:  chmrr | 2005-06-23 17:39:53 -0400
  * Actually fix the escaping bug


Modified: rt/branches/3.4-RELEASE/html/Elements/Quicksearch
==============================================================================
--- rt/branches/3.4-RELEASE/html/Elements/Quicksearch	(original)
+++ rt/branches/3.4-RELEASE/html/Elements/Quicksearch	Thu Jun 23 17:37:31 2005
@@ -59,9 +59,9 @@
 
   my $name = $m->interp->apply_escapes($queue->Name, "u");
   
-  my $new_q = "Queue = '".$queue->Name."' AND Status = 'new'";
-  my $open_q = "Queue = '".$queue->Name."' AND Status = 'open'";
-  my $all_q = "Queue = '".$queue->Name."' AND (Status = 'open' OR Status = 'new')";
+  my $new_q = "Queue = '$name' AND Status = 'new'";
+  my $open_q = "Queue = '$name' AND Status = 'open'";
+  my $all_q = "Queue = '$name' AND (Status = 'open' OR Status = 'new')";
 
   $Tickets->FromSQL($open_q);
   my $open = $Tickets->Count();


More information about the Rt-commit mailing list