Fix warning "Use of uninitialized value $VERBOSE in numeric ge (>=) at scripts/rt-bulk-prep-pay.plx line 32".
This commit is contained in:
parent
b163e59f98
commit
dd917b31ef
1 changed files with 2 additions and 0 deletions
|
@ -96,7 +96,9 @@ sub GetStatusOfTicket ($) {
|
||||||
GetOptions("verbose=i" => \$VERBOSE, "interactive" => \$INTERACTIVE, 'showAmounts' => \$SHOW_AMOUNTS,
|
GetOptions("verbose=i" => \$VERBOSE, "interactive" => \$INTERACTIVE, 'showAmounts' => \$SHOW_AMOUNTS,
|
||||||
'subTotals' => \$SUB_TOTALS,
|
'subTotals' => \$SUB_TOTALS,
|
||||||
"rtCommand=s" => \$RT_CMD, "svnCommand=s" => \$SVN_CMD, 'queryString=s' => \$QUERY_STRING);
|
"rtCommand=s" => \$RT_CMD, "svnCommand=s" => \$SVN_CMD, 'queryString=s' => \$QUERY_STRING);
|
||||||
|
|
||||||
$SHOW_AMOUNTS = 1 if $SUB_TOTALS;
|
$SHOW_AMOUNTS = 1 if $SUB_TOTALS;
|
||||||
|
$VERBOSE = 0 unless $VERBOSE;
|
||||||
|
|
||||||
$RT_CMD = '/usr/bin/rt' unless defined $RT_CMD;
|
$RT_CMD = '/usr/bin/rt' unless defined $RT_CMD;
|
||||||
$SVN_CMD = '/usr/bin/svn' unless defined $SVN_CMD;
|
$SVN_CMD = '/usr/bin/svn' unless defined $SVN_CMD;
|
||||||
|
|
Loading…
Add table
Reference in a new issue