diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php index 837948bed3e..2f7e30641b7 100644 --- a/htdocs/projet/list.php +++ b/htdocs/projet/list.php @@ -702,6 +702,7 @@ print "\n"; $i = 0; $totalarray = array(); +$totalarray['val'] = array(); while ($i < min($num, $limit)) { $obj = $db->fetch_object($resql); @@ -858,12 +859,15 @@ while ($i < min($num, $limit)) // Opp weighted amount if (!empty($arrayfields['opp_weighted_amount']['checked'])) { + if (!isset($totalarray['val']['opp_weighted_amount'])) $totalarray['val']['opp_weighted_amount'] = 0; print '