[Rt-commit] r13419 - rt/3.8/trunk/share/html/Elements/RT__Ticket

ruz at bestpractical.com ruz at bestpractical.com
Thu Jun 19 10:12:20 EDT 2008


Author: ruz
Date: Thu Jun 19 10:12:09 2008
New Revision: 13419

Modified:
   rt/3.8/trunk/share/html/Elements/RT__Ticket/ColumnMap

Log:
* Queue returns id when we need object

Modified: rt/3.8/trunk/share/html/Elements/RT__Ticket/ColumnMap
==============================================================================
--- rt/3.8/trunk/share/html/Elements/RT__Ticket/ColumnMap	(original)
+++ rt/3.8/trunk/share/html/Elements/RT__Ticket/ColumnMap	Thu Jun 19 10:12:09 2008
@@ -185,7 +185,7 @@
         value     => sub { 
             my $date = $_[0]->DueObj;
             # Highlight the date if it was due in the past, and it's still active
-            if ( $date && $date->Unix > 0 && $date->Diff < 0 && $_[0]->Queue->IsActiveStatus($_[0]->Status)) {
+            if ( $date && $date->Unix > 0 && $date->Diff < 0 && $_[0]->QueueObj->IsActiveStatus($_[0]->Status)) {
                 return (\'<span class="overdue">' , $date->AgeAsString , \'</span>');
             } else {
                 return $date->AgeAsString;


More information about the Rt-commit mailing list