diff --git a/htdocs/compta/dons/liste.php b/htdocs/compta/dons/liste.php index 178ab020442..3e76a09a49f 100644 --- a/htdocs/compta/dons/liste.php +++ b/htdocs/compta/dons/liste.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2010 Laurent Destailleur + * Copyright (C) 2004-2011 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -76,7 +76,9 @@ if ($result) if ($statut >= 0) { - print_barre_liste($libelle[$statut], $page, "liste.php", "&statut=$statut&sortorder=$sortorder&sortfield=$sortfield"); + $donationstatic->statut=$statut; + $label=$donationstatic->getLibStatut(0); + print_barre_liste($label, $page, "liste.php", "&statut=$statut&sortorder=$sortorder&sortfield=$sortfield"); } else {