Authored by 周少峰

add check

@@ -85,7 +85,7 @@ class BrandController extends AbstractAction @@ -85,7 +85,7 @@ class BrandController extends AbstractAction
85 $brandDomain = $this->get('brandDomain'); 85 $brandDomain = $this->get('brandDomain');
86 $brandId = $this->get('brandId'); 86 $brandId = $this->get('brandId');
87 do { 87 do {
88 - if (empty($brandId) || empty($uid) || empty($brandDomain) || empty($brandName)) { 88 + if (empty($uid) || empty($brandName)) {
89 break; 89 break;
90 } 90 }
91 $records = time().'_'.$brandName.'_'.$brandDomain.'_'.$brandId; 91 $records = time().'_'.$brandName.'_'.$brandDomain.'_'.$brandId;