|
@@ -104,7 +104,7 @@ class AdvertiserController extends CatchController
|
|
|
$item->miniPrograms = [];
|
|
|
foreach (explode(',', $item->miniProgramIds) as $miniProgramId) {
|
|
|
$miniProgram = $miniPrograms->get($miniProgramId);
|
|
|
- $miniProgram->type_logo = $logos[$miniProgram->type] ?? '';
|
|
|
+ $miniProgram->type_logo = $logos[$miniProgram->type ?? -1] ?? '';
|
|
|
$item->miniPrograms[] = $miniProgram;
|
|
|
}
|
|
|
}
|