fix bug config
This commit is contained in:
@@ -76,10 +76,11 @@ class CaptureLogsGrid {
|
||||
$staff = $model->listManagement;
|
||||
if ($staff) {
|
||||
$images = json_decode($staff->image, true);
|
||||
return Html::img("/data/uploads/face/" . $images[0]['url'], [
|
||||
"class" => "img-thumbnail",
|
||||
"style" => "width: 150px;height:150px;"
|
||||
]);
|
||||
if (count($images) > 0)
|
||||
return Html::img("/data/uploads/face/" . $images[0]['url'], [
|
||||
"class" => "img-thumbnail",
|
||||
"style" => "width: 150px;height:150px;"
|
||||
]);
|
||||
}
|
||||
return "";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user