Commit baa9fa8b authored by zhz's avatar zhz

footprint

parent 5c07e2c0
...@@ -122,10 +122,10 @@ class FootprintServiceModel extends \Business\AbstractModel ...@@ -122,10 +122,10 @@ class FootprintServiceModel extends \Business\AbstractModel
} }
} }
foreach ($browseList as $browse) { foreach ($browseList as $browse) {
if($browse['goods_commonid']) { if($browse['goods_commonid'] && $goodsCommons[$browse['goods_commonid']]) {
$footPrints[] = $goodsCommons[$browse['goods_commonid']]; $footPrints[] = $goodsCommons[$browse['goods_commonid']];
} }
if($browse['group_id']) { if($browse['group_id'] && $groups[$browse['group_id']]) {
$footPrints[] = $groups[$browse['group_id']]; $footPrints[] = $groups[$browse['group_id']];
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment