|
@@ -152,7 +152,7 @@ class Main extends Core
|
|
$this->data['top'] = array();
|
|
$this->data['top'] = array();
|
|
if ($top) {
|
|
if ($top) {
|
|
$shop_id = isset($this->data['shop']['id']) ? $this->data['shop']['id'] : 3;
|
|
$shop_id = isset($this->data['shop']['id']) ? $this->data['shop']['id'] : 3;
|
|
- foreach ($hot as $k => $v) {
|
|
|
|
|
|
+ foreach ($top as $k => $v) {
|
|
if (count($this->data['top']) >= 6) {
|
|
if (count($this->data['top']) >= 6) {
|
|
break;
|
|
break;
|
|
}
|
|
}
|