diff --git a/htdocs/public/dons/don.xhtml b/htdocs/public/dons/don.xhtml index b489eedc78a..af5d32acffc 100644 --- a/htdocs/public/dons/don.xhtml +++ b/htdocs/public/dons/don.xhtml @@ -57,7 +57,7 @@ - euros + diff --git a/htdocs/public/dons/therm.php b/htdocs/public/dons/therm.php index 50887e77260..c1b2afa4d7a 100644 --- a/htdocs/public/dons/therm.php +++ b/htdocs/public/dons/therm.php @@ -30,8 +30,8 @@ if (file_exists ($thermlib)) */ $conf = new Conf(); - $db = new Db(); - $dontherm = new Don($db); + $dbt = new Db(); + $dontherm = new Don($dbt); $actualValue = $dontherm->sum_actual(); $pendingValue = $dontherm->sum_pending(); @@ -39,5 +39,6 @@ if (file_exists ($thermlib)) print moneyMeter($actualValue, $pendingValue, $intentValue); + $dbt->close(); } ?>