import rt 3.6.6
[freeside.git] / rt / html / REST / 1.0 / Forms / ticket / default
index 69e385f..2bfc43d 100644 (file)
@@ -207,7 +207,7 @@ if (!keys(%data)) {
     foreach $key (qw(TimeEstimated TimeWorked TimeLeft)) {
        next unless (!%$fields || (exists $fields->{lc $key}));
         $val = $ticket->$key || 0;
-        $val = $time->DurationAsString($val*60) if $val;
+        $val = "$val minutes" if $val;
         push @data, [ $key => $val ];
     }