Fix php8.1

This commit is contained in:
Pek5892 2024-04-12 16:47:34 +02:00
parent 8ffe852c19
commit 9f0e319a03
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ include_once __DIR__.'/../../core.php';
use Modules\Fatture\Fattura;
function renderRiga($id, $riga, &$totale_dare, &$totale_avere)
function renderRiga($id, $riga, $totale_dare = null, $totale_avere = null)
{
// Conto
echo '
@ -50,7 +50,7 @@ function renderRiga($id, $riga, &$totale_dare, &$totale_avere)
$totale_avere += ($riga['avere'] ?: 0);
}
function renderTabella($nome, $righe, &$totale_dare, &$totale_avere)
function renderTabella($nome, $righe, $totale_dare = null, $totale_avere = null)
{
global $counter;