Qual: Missing variable declaration

This commit is contained in:
Raphaël Doursenaud 2014-04-23 16:06:20 +02:00
parent 036cc7472f
commit 7a6b3a0827

View File

@ -658,7 +658,7 @@ function moneyMeter($actualValue=0, $pendingValue=0, $intentValue=0)
// actual // actual
$sectionHeight = round(($actualValue / $maximumValue) * $height); $sectionHeight = round(($actualValue / $maximumValue) * $height);
$totalHeight = $totalHeight + $sectionHeight; $totalHeight = $sectionHeight;
if ( $sectionHeight > 0 ) if ( $sectionHeight > 0 )
{ {
$section = $formSection; $section = $formSection;
@ -669,7 +669,7 @@ function moneyMeter($actualValue=0, $pendingValue=0, $intentValue=0)
// pending // pending
$sectionHeight = round(($pendingValue / $maximumValue) * $height); $sectionHeight = round(($pendingValue / $maximumValue) * $height);
$totalHeight = $totalHeight + $sectionHeight; $totalHeight += $sectionHeight;
if ( $sectionHeight > 0 ) if ( $sectionHeight > 0 )
{ {
$section = $formSection; $section = $formSection;
@ -680,7 +680,7 @@ function moneyMeter($actualValue=0, $pendingValue=0, $intentValue=0)
// intent // intent
$sectionHeight = round(($intentValue / $maximumValue) * $height); $sectionHeight = round(($intentValue / $maximumValue) * $height);
$totalHeight = $totalHeight + $sectionHeight; $totalHeight += $sectionHeight;
if ( $sectionHeight > 0 ) if ( $sectionHeight > 0 )
{ {
$section = $formSection; $section = $formSection;