Skip to content

Commit

Permalink
Revert "fix deprecation when calling htmlentities with null"
Browse files Browse the repository at this point in the history
This reverts commit b99498d.
  • Loading branch information
tenzap committed Jun 18, 2023
1 parent b99498d commit 5ef8009
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/views/main/dashboard/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<tr valign="top">
<td><?php echo tr('Gammu version');?></td>
<td>:</td>
<td><?php echo filter_data(htmlentities($this->Kalkun_model->get_gammu_info('gammu_version')->row('Client') ?? ''), ENT_QUOTES); ?></td>
<td><?php echo filter_data(htmlentities($this->Kalkun_model->get_gammu_info('gammu_version')->row('Client')), ENT_QUOTES); ?></td>
</tr>
<tr valign="top">
<td><?php echo tr('Gammu DB schema');?></td>
Expand All @@ -41,7 +41,7 @@
<tr valign="top">
<td><?php echo tr('Modem IMEI');?></td>
<td>:</td>
<td><?php echo filter_data(htmlentities($this->Kalkun_model->get_gammu_info('phone_imei')->row('IMEI') ?? ''), ENT_QUOTES); ?></td>
<td><?php echo filter_data(htmlentities($this->Kalkun_model->get_gammu_info('phone_imei')->row('IMEI')), ENT_QUOTES); ?></td>
</tr>
</table>
</div>
Expand Down

0 comments on commit 5ef8009

Please sign in to comment.