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
这个提交包含在:
		
							父节点
							
								
									e8040e3296
								
							
						
					
					
						当前提交
						35664c9e09
					
				
					共有  1 个文件被更改,包括 3 次插入 和 1 次删除
				
			
		|  | @ -561,7 +561,9 @@ | ||||||
| 
 | 
 | ||||||
|         <div class="tab-pane fade" id="eqslcard" role="tabpanel" aria-labelledby="table-tab"> |         <div class="tab-pane fade" id="eqslcard" role="tabpanel" aria-labelledby="table-tab"> | ||||||
|         <?php |         <?php | ||||||
|  | 	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++.'">'; | 		echo '<img class="d-block" src="' . base_url() . '/images/eqsl_card_images/' . $row->eqsl_image_file .'" alt="QSL picture #'. $i++.'">'; | ||||||
|  | 	} | ||||||
|         ?>
 |         ?>
 | ||||||
|         </div> |         </div> | ||||||
|         <?php |         <?php | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用