作者 刘锟

升级项目新增分类描述采集

@@ -781,7 +781,7 @@ class ProjectUpdate extends Command @@ -781,7 +781,7 @@ class ProjectUpdate extends Command
781 } 781 }
782 $new_img = $this->source_download($image, $project_id, $domain, $web_url_domain, $home_url); 782 $new_img = $this->source_download($image, $project_id, $domain, $web_url_domain, $home_url);
783 //描述 783 //描述
784 - if (isset($item['description'])) { 784 + if (isset($item['description']) && $item['description']) {
785 //匹配描述资源 785 //匹配描述资源
786 $source_list = $this->html_preg($item['description'], $project_id, $domain, $web_url_domain, $home_url); 786 $source_list = $this->html_preg($item['description'], $project_id, $domain, $web_url_domain, $home_url);
787 if ($source_list) { 787 if ($source_list) {