diff --git a/htdocs/adherents/list.php b/htdocs/adherents/list.php index 4acafa49b00..2399b9f5b83 100644 --- a/htdocs/adherents/list.php +++ b/htdocs/adherents/list.php @@ -5,7 +5,7 @@ * Copyright (C) 2013-2015 Raphaël Doursenaud * Copyright (C) 2014-2016 Juanjo Menent * Copyright (C) 2018 Alexandre Spangaro - * Copyright (C) 2021 Frédéric France + * Copyright (C) 2021-2023 Frédéric France * * 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 @@ -1015,7 +1015,7 @@ $i = 0; $totalarray = array(); $totalarray['nbfield'] = 0; $imaxinloop = ($limit ? min($num, $limit) : $num); -while ($i < $maxinloop) { +while ($i < $imaxinloop) { $obj = $db->fetch_object($resql); $datefin = $db->jdate($obj->datefin);