Merge pull request #2004 from brenodouglas/patch-1

Fix error upload file in midia
This commit is contained in:
Samuel Georges 2016-05-13 04:45:31 +10:00
commit 40f058b5b6
1 changed files with 1 additions and 1 deletions

View File

@ -1038,7 +1038,7 @@ class MediaManager extends WidgetBase
*/
protected function cleanFileName($name)
{
$title = Str::ascii($title);
$title = Str::ascii($name);
// Convert all dashes/underscores into separator
$flip = $separator = '-';