Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
8653666cb3ae6bd2b8a4024cc6b544809dca923c
1 parent
756bdc6b
fixes bug to brand list not return brand id
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Index.php
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Index.php
View file @
8653666
...
...
@@ -91,7 +91,7 @@ class IndexController extends AbstractAction
$brandId
=
0
;
if
(
isset
(
$brandIds
[
0
]))
{
$brandId
=
$brandIds
[
0
];
}
}
// 当前的登录用户UID
$uid
=
$this
->
getUid
();
...
...
@@ -114,6 +114,10 @@ class IndexController extends AbstractAction
'gender'
=>
FILTER_DEFAULT
,
'p_d'
=>
FILTER_DEFAULT
,),
false
);
$condition
[
'brand'
]
=
$brandId
;
if
(
$brandId
===
0
)
{
$condition
[
'query'
]
=
$domain
;
}
if
(
isset
(
$condition
[
'gender'
]))
{
$condition
[
'gender'
]
=
rawurldecode
(
$condition
[
'gender'
]);
...
...
Please
register
or
login
to post a comment