forked from extern/egroupware
If there's a failure storing uploaded file, make sure to show it
This commit is contained in:
parent
e5b3aea258
commit
a4a4a32d7b
@ -137,6 +137,11 @@ class Vfs extends File
|
||||
$file_data[basename($file['tmp_name'])]['mime'] = $file['type'];
|
||||
$file_data[basename($file['tmp_name'])]['mtime'] = time();
|
||||
}
|
||||
else
|
||||
{
|
||||
// Something happened with the VFS
|
||||
$file_data[basename($file['tmp_name'])] = lang('Server error');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user