Qual: Missing variable declaration
This commit is contained in:
parent
036cc7472f
commit
7a6b3a0827
@ -658,7 +658,7 @@ function moneyMeter($actualValue=0, $pendingValue=0, $intentValue=0)
|
||||
|
||||
// actual
|
||||
$sectionHeight = round(($actualValue / $maximumValue) * $height);
|
||||
$totalHeight = $totalHeight + $sectionHeight;
|
||||
$totalHeight = $sectionHeight;
|
||||
if ( $sectionHeight > 0 )
|
||||
{
|
||||
$section = $formSection;
|
||||
@ -669,7 +669,7 @@ function moneyMeter($actualValue=0, $pendingValue=0, $intentValue=0)
|
||||
|
||||
// pending
|
||||
$sectionHeight = round(($pendingValue / $maximumValue) * $height);
|
||||
$totalHeight = $totalHeight + $sectionHeight;
|
||||
$totalHeight += $sectionHeight;
|
||||
if ( $sectionHeight > 0 )
|
||||
{
|
||||
$section = $formSection;
|
||||
@ -680,7 +680,7 @@ function moneyMeter($actualValue=0, $pendingValue=0, $intentValue=0)
|
||||
|
||||
// intent
|
||||
$sectionHeight = round(($intentValue / $maximumValue) * $height);
|
||||
$totalHeight = $totalHeight + $sectionHeight;
|
||||
$totalHeight += $sectionHeight;
|
||||
if ( $sectionHeight > 0 )
|
||||
{
|
||||
$section = $formSection;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user