...
|
...
|
@@ -22,14 +22,14 @@ class Controller_Brand extends Controller_Abstract |
|
|
$client = $this->_request->query('client', 0);
|
|
|
if($client || $this->_platform != 'web')
|
|
|
{
|
|
|
$signBrands = Facade_Brand::getSignBrand();
|
|
|
$yohobuyBrands = Facade_Brand::getYohobuyBrand();
|
|
|
$yohobuyBrandId = '0';
|
|
|
foreach($signBrands as $signBrand)
|
|
|
foreach($yohobuyBrands as $yohobuyBrand)
|
|
|
{
|
|
|
$signBrand['brand_name'] = trim(strtolower($signBrand['brand_name']));
|
|
|
if(strtolower($info['name']) == $signBrand['brand_name'])
|
|
|
$yohobuyBrand['brand_name'] = trim(strtolower($yohobuyBrand['brand_name']));
|
|
|
if(strtolower($info['name']) == $yohobuyBrand['brand_name'])
|
|
|
{
|
|
|
$yohobuyBrandId = $signBrand['brand_id'];
|
|
|
$yohobuyBrandId = $yohobuyBrand['brand_id'];
|
|
|
break;
|
|
|
}
|
|
|
}
|
...
|
...
|
|