[Bps-public-commit] rt-extension-jsgantt branch, master, updated. 9e77616e856847b9e9b9846b4615a79bbc024fe5
? sunnavy
sunnavy at bestpractical.com
Wed Jul 7 07:05:20 EDT 2010
The branch, master has been updated
via 9e77616e856847b9e9b9846b4615a79bbc024fe5 (commit)
from 2a712c8cbd515992ab9fbed6615ba4d2ef196137 (commit)
Summary of changes:
lib/RT/Extension/JSGantt.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 9e77616e856847b9e9b9846b4615a79bbc024fe5
Author: sunnavy <sunnavy at bestpractical.com>
Date: Wed Jul 7 19:06:44 2010 +0800
scope of $progress is too big
diff --git a/lib/RT/Extension/JSGantt.pm b/lib/RT/Extension/JSGantt.pm
index 44fcf56..e934623 100644
--- a/lib/RT/Extension/JSGantt.pm
+++ b/lib/RT/Extension/JSGantt.pm
@@ -69,7 +69,6 @@ sub TicketsInfo {
my ( @ids, %info );
- my $progress = 0;
my @colors = grep { defined } RT->Config->Get('JSGanttColorScheme');
@colors = ( 'ff0000', 'ffff00', 'ff00ff', '00ff00', '00ffff', '0000ff' )
unless @colors;
@@ -79,6 +78,7 @@ sub TicketsInfo {
my ( $min_start, $min_start_obj );
for my $Ticket (@{$args{Tickets}}) {
+ my $progress = 0;
my $subject = $Ticket->Subject;
my $parent = 0;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list