Fix calling nonexistent method get() on null

This commit is contained in:
Kijin Sung 2017-06-08 21:10:47 +09:00
parent ba2d4f1bc3
commit 8fcbe5ec6a

View file

@ -1,7 +1,7 @@
<script>//<<![CDATA[
var uploaded_fileinfo = {};
<!--@if($uploaded_fileinfo->error==0)-->
<!--@if($uploaded_fileinfo && $uploaded_fileinfo->error == 0)-->
uploaded_fileinfo.error = 0;
uploaded_fileinfo.file_srl = {$uploaded_fileinfo->get('file_srl')};
uploaded_fileinfo.file_size = {$uploaded_fileinfo->get('file_size')};