Fixes bug: if there's no (e)qsl-image at the database, qsl-detail-view will try to fetch /images/eqsl_card_images/ which produces a 403

这个提交包含在:
int2001 2023-07-06 16:40:17 +00:00
父节点 e8040e3296
当前提交 35664c9e09

查看文件

@ -561,7 +561,9 @@
<div class="tab-pane fade" id="eqslcard" role="tabpanel" aria-labelledby="table-tab">
<?php
echo '<img class="d-block" src="' . base_url() . '/images/eqsl_card_images/' . $row->eqsl_image_file .'" alt="QSL picture #'. $i++.'">';
if ($row->eqsl_image_file != null) {
echo '<img class="d-block" src="' . base_url() . '/images/eqsl_card_images/' . $row->eqsl_image_file .'" alt="QSL picture #'. $i++.'">';
}
?>
</div>
<?php