逛编辑文章列表页面无法获取第一页之后页面的数据修复
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -54,7 +54,7 @@ class ListData | @@ -54,7 +54,7 @@ class ListData | ||
54 | public static function article($gender, $sortId, $uid = 0, $udid = '', $page = 1, $tag = null, $authorId = null, $limit = null, $useCache = true) | 54 | public static function article($gender, $sortId, $uid = 0, $udid = '', $page = 1, $tag = null, $authorId = null, $limit = null, $useCache = true) |
55 | { | 55 | { |
56 | $param = Yohobuy::param(); | 56 | $param = Yohobuy::param(); |
57 | - $param['gender'] = $gender; | 57 | + $param['gender'] = isset($gender) ? $gender : ''; |
58 | $param['page'] = $page; | 58 | $param['page'] = $page; |
59 | $param['uid'] = $uid; | 59 | $param['uid'] = $uid; |
60 | $param['udid'] = $udid; | 60 | $param['udid'] = $udid; |
-
Please register or login to post a comment