[Rt-commit] r5359 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Wed Jun 14 18:24:08 EDT 2006


Author: ruz
Date: Wed Jun 14 18:24:07 2006
New Revision: 5359

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Elements/Callback
   rt/branches/3.7-EXPERIMENTAL/html/Elements/QueueSummary

Log:
 r3148 at cubic-pc:  cubic | 2006-06-10 08:51:54 +0400
 * minor


Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/Callback
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/Callback	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/Callback	Wed Jun 14 18:24:07 2006
@@ -47,7 +47,7 @@
 my %cache;
 </%once>
 <%init>
-$Page = $m->callers(1)->path unless ($Page);
+$Page ||= $m->callers(1)->path;
 
 my $CacheKey = "Callback--$Page--$_CallbackName";
 my $callbacks = $cache{$CacheKey} || $m->notes($CacheKey);
@@ -73,7 +73,7 @@
                    && !$seen{$_}++,
                  $m->interp->resolver->glob_path($path, $root);
     }
-    
+
     $m->notes($CacheKey => $callbacks);
     $cache{ $CacheKey } = $callbacks unless RT->Config->Get('DevelMode');
 }

Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/QueueSummary
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/QueueSummary	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/QueueSummary	Wed Jun 14 18:24:07 2006
@@ -58,7 +58,7 @@
 <tr class="<% $i%2 ? 'oddline' : 'evenline'%>" >
 <td><a href="<% RT->Config->Get('WebPath')%>/Search/Results.html?Query=<%$all_q%>" title="<% $queue->{Description} %>"><%$queue->{Name}%></a></td>
 %   for my $condition (@$conditions) {
-%       $Tickets->FromSQL($queue_cond.$condition->{cond}), 
+%       $Tickets->FromSQL($queue_cond.$condition->{cond}); 
 <td align="right"><a href="<% RT->Config->Get('WebPath')%>/Search/Results.html?Query=<%$queue_cond.$condition->{cond}%>"><% $Tickets->Count %></a></td>
 %   }
 </tr>


More information about the Rt-commit mailing list