Commit e3e9d6eb by 杨昕

duration为不存在时设为空串

parent 343ea20b
Pipeline #10665 passed with stages
in 44 seconds
...@@ -466,7 +466,7 @@ class MediaModel extends Eloquent ...@@ -466,7 +466,7 @@ class MediaModel extends Eloquent
} }
if (!isset($media['duration'])){ if (!isset($media['duration'])){
$media['duration'] = "0"; $media['duration'] = "";
} }
}catch (\Exception $exception){ }catch (\Exception $exception){
throw new DatabaseException($exception->getMessage()); throw new DatabaseException($exception->getMessage());
......
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