Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
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
9e0e3c4b0d6101c7ca61014eb37ba99c7237aca6
1 parent
4ce4384a
fixes bug to branch search show brands
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
yohobuy/m.yohobuy.com/application/models/Category/Brand.php
yohobuy/m.yohobuy.com/application/models/Category/Brand.php
View file @
9e0e3c4
...
...
@@ -123,7 +123,9 @@ class BrandModel
$list
=
array
();
$build
=
array
();
foreach
(
$brand
[
'data'
][
'brands'
]
as
$char
=>
$value
)
{
$build
=
array
();
foreach
(
$value
as
$row
)
{
$list
=
array
();
$list
[
'name'
]
=
$row
[
'brand_name'
];
$list
[
'isHot'
]
=
(
$row
[
'is_hot'
]
===
'Y'
)
?
true
:
false
;
$list
[
'isNew'
]
=
(
$row
[
'is_show_new'
]
===
'Y'
)
?
true
:
false
;
...
...
Please
register
or
login
to post a comment