diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php index 2f7e30641b7..15464de2f9c 100644 --- a/htdocs/projet/list.php +++ b/htdocs/projet/list.php @@ -701,8 +701,10 @@ print_liste_field_titre($selectedfields, $_SERVER["PHP_SELF"], "", '', '', '', $ print "\n"; $i = 0; -$totalarray = array(); -$totalarray['val'] = array(); +$totalarray = array( + 'nbfield' => 0, + 'val' => array(), +); while ($i < min($num, $limit)) { $obj = $db->fetch_object($resql);