Showing
1 changed file
with
1 additions
and
1 deletions
@@ -79,7 +79,7 @@ class HelperSearch | @@ -79,7 +79,7 @@ class HelperSearch | ||
79 | //总页数 | 79 | //总页数 |
80 | $result['page_total'] = isset($data['product']['page_total']) ? $data['product']['page_total'] : ''; | 80 | $result['page_total'] = isset($data['product']['page_total']) ? $data['product']['page_total'] : ''; |
81 | self::$pageTotal = $result['page_total']; | 81 | self::$pageTotal = $result['page_total']; |
82 | - self::$total = $data['product']['total']; | 82 | + self::$total = isset($data['product']['total']) ? $data['product']['total'] : 0; |
83 | //当前页 | 83 | //当前页 |
84 | self::$page = $result['page'] = isset($data['product']['page']) ? $data['product']['page'] : ''; | 84 | self::$page = $result['page'] = isset($data['product']['page']) ? $data['product']['page'] : ''; |
85 | //筛选条件 | 85 | //筛选条件 |
-
Please register or login to post a comment