|
@@ -71,17 +71,21 @@ class Meeting extends Base
|
|
|
$i = 0;
|
|
|
if ($wei) {
|
|
|
foreach ($wei as $k => $v) {
|
|
|
- $this->data['focus'][$i] = $this->one($v);
|
|
|
- array_push($ids, $v['id']);
|
|
|
- $i++;
|
|
|
+ if ($v['img']) {
|
|
|
+ $this->data['focus'][$i] = $this->one($v);
|
|
|
+ array_push($ids, $v['id']);
|
|
|
+ $i++;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
|
if ($cur) {
|
|
|
foreach ($cur as $k => $v) {
|
|
|
- $this->data['focus'][$i] = $this->one($v);
|
|
|
- array_push($ids, $v['id']);
|
|
|
- $i++;
|
|
|
+ if ($v['img']) {
|
|
|
+ $this->data['focus'][$i] = $this->one($v);
|
|
|
+ array_push($ids, $v['id']);
|
|
|
+ $i++;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|