From c8319d767aac04288bab86babecc60bd87706192 Mon Sep 17 00:00:00 2001 From: engel <> Date: Sat, 19 Feb 2022 13:35:13 +0000 Subject: [PATCH] petite correction FossilOrigin-Name: a8fe54cfeb3448db309659640e15c0ed9fc1e4157321db1ff663145c52926566 --- www/admin/versements_personnes.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/admin/versements_personnes.php b/www/admin/versements_personnes.php index 209c7fc..496a76f 100644 --- a/www/admin/versements_personnes.php +++ b/www/admin/versements_personnes.php @@ -5,13 +5,12 @@ namespace Garradin; use Garradin\Plugin\RecusFiscaux\Personne; use Garradin\Plugin\RecusFiscaux\Utils; -$_SESSION['taux_reduction'] = $_POST['taux_reduction']; - // vérifier si l'année a bien été sélectionnée au préalable $_SESSION['annee_recu'] = f('annee_recu'); if (! isset($_SESSION['annee_recu']) || $_SESSION['annee_recu'] == "") { \Garradin\Utils::redirect(PLUGIN_URL . 'index.php'); } +$_SESSION['taux_reduction'] = $_POST['taux_reduction']; // versements totaux par personne $_SESSION['lesVersementsTotaux'] = Utils::getVersementsTotaux($_SESSION['annee_recu']);