Please sign in to comment.
fix(files): $file is not always an object with originalfilename property
$file can be a string in ElggFile::detectMimetype, which was producing log errors. Now using actual ElggFile instance to get the originalfilename metadata, or basename() to get the filename from a path. Refs #8846
- Loading branch information...