Comptability PHP8.1

remove deprecated null string
This commit is contained in:
sparkyx 2023-09-15 19:15:32 +02:00
parent debfa65ed1
commit 3d8265f89f
3 changed files with 5 additions and 5 deletions

View file

@ -264,7 +264,7 @@ class PDF_Core extends TFPDF
$this->bigger=0;
}
/**
* If the step is even then return 1 and set the backgroup color to blue , otherwise
* @brief If the step is even then return 1 and set the backgroup color to blue , otherwise
* returns 0, and set the background color to white
* It is use to compute alternated colored row , it the parameter fill in write_cell and
* cell
@ -281,7 +281,7 @@ class PDF_Core extends TFPDF
$this->SetFillColor(255, 255, 255);
$fill = 0;
}
return $p_step;
return $fill;
}

View file

@ -59,12 +59,12 @@
<?php echo $row['r_name']?>
</td>
<td>
<?php if (trim($row['qcode'])!='') : ?>
<?php if (trim($row['qcode']??"")!='') : ?>
<?php echo HtmlInput::card_detail($row['qcode'],$row['fname'],' class="line" ')?>
<?php endif; ?>
</td>
<td>
<?php if (trim($row['jr_internal'])!='') : ?>
<?php if (trim($row['jr_internal']??"")!='') : ?>
<?php echo HtmlInput::detail_op($row['jr_id'],$row['jr_internal'])?>
<?php endif; ?>
</td>

View file

@ -89,7 +89,7 @@
<?php echo _("DIFF")?> :
</td>
<td class="num">
<?php echo nbm((bcsub($array[0]['s_qin'],$array[0]['s_qout'])))?>
<?php echo nbm((bcsub($array[0]['s_qin']??0,$array[0]['s_qout']??0)))?>
</td>
</tr>
</table>