diff --git a/library/Metier/Scores/MScores.php b/library/Metier/Scores/MScores.php index 08de8c61..57bc3be5 100644 --- a/library/Metier/Scores/MScores.php +++ b/library/Metier/Scores/MScores.php @@ -603,7 +603,7 @@ function format($matches) elseif (preg_match('/\$\{(\+|!|)(Rp4|Rp3|Rp2|Rp|Rs|Rsp|Rap|Ra|Rdiff|Revolp2|Revolp|Revol|R|regR)\[(\d+)\]\}/Ui', $strRetour, $matches2)) { $tmpRatio = $matches2[2]; $tmpRatioId = $matches2[3]*1; - $unite = strtoupper($this->tabFormulesRatios[$tmpRatioId]['unite']); + $unite = strtoupper($tabFormulesRatios[$tmpRatioId]['unite']); if ($matches2[1]=='+') { $forceSigne='+'; }