Commit cecd16a0 authored by sunnavy's avatar sunnavy
Browse files

JSGanttOptions may not be defined

parent 6cf56486
......@@ -117,7 +117,7 @@ sub TicketsInfo {
my ( @ids, %info );
my %options = RT->Config->Get('JSGanttOptions');
my %options = RT->Config->Get('JSGanttOptions') || ();
my @colors;
if ( $options{ColorScheme} ) {
......@@ -248,7 +248,7 @@ $start and $end are strings like 3/21/2011
sub _GetTimeRange {
my ( $Ticket, %args ) = @_;
my %options = RT->Config->Get('JSGanttOptions');
my %options = RT->Config->Get('JSGanttOptions') || ();
# the, uh, long way
my ( $start_obj, $start ) = _GetDate( $Ticket, 'Starts', 'Started' );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment