Commit d85a3127 authored by hujun's avatar hujun

empty

parent e3d8a62a
......@@ -703,7 +703,7 @@ class Shop extends Basic
$upload_id = $s_house->getHouseVideoNum($params['id']);
$result['is_upload_video'] = 0; //不能上传视频
if (count($upload_id) < 3) {
if (!empty($upload_id) && count($upload_id) < 3) {
$result['is_upload_video'] = 1;
if (in_array($this->agentId, $upload_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