diff --git a/helpers/CaptureLogsGrid.php b/helpers/CaptureLogsGrid.php index f564b9f7..49627a77 100644 --- a/helpers/CaptureLogsGrid.php +++ b/helpers/CaptureLogsGrid.php @@ -95,7 +95,7 @@ class CaptureLogsGrid { if ($staff) { $images = json_decode($staff->image, true); if (count($images) > 0) - return Html::img("/data/uploads/face/" . $images[0]['url'], [ + return Html::img("/data/uploads/face/" . $images[count($images) - 1]['url'], [ "class" => "img-thumbnail", "style" => "width: 150px;height:150px;" ]);