Authored by Rock Zhang

修复收藏的品牌的bug

... ... @@ -137,7 +137,8 @@ class HomeController extends AbstractAction
if ($this->isAjax()) {
$uid = $this->getUid(true);
$page = $this->post('page', 1);
$result = UserModel::getFavBrandData($uid, 10, $page, 10);
$gender = Helpers::getGenderByCookie();
$result = UserModel::getFavBrandData($uid, $gender, $page, 10);
}
if (empty($result)) {
... ...