diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index 1dac0b902c7..72fee769c09 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -164,7 +164,7 @@ if (! empty($conf->propal->enabled) && $user->rights->propal->lire) if ($num > 0) { $i = 0; - $nbofloop=min($num, (empty($conf->global->MAIN_MAXLIST_OVERLOAD)?5:$conf->global->MAIN_MAXLIST_OVERLOAD)); + $nbofloop=min($num, (empty($conf->global->MAIN_MAXLIST_OVERLOAD)?500:$conf->global->MAIN_MAXLIST_OVERLOAD)); while ($i < $nbofloop) { $obj = $db->fetch_object($resql);