Skip to content
Snippets Groups Projects
Commit 0470a5ba authored by Robin Appelman's avatar Robin Appelman
Browse files

fix variable name

parent cf732191
No related branches found
No related tags found
No related merge requests found
......@@ -366,10 +366,10 @@ class OC_Helper {
/**
* Try to guess the mimetype based on filename
*
* @param string $name
* @param string $path
* @return string
*/
static public function getFileNameMimeType($name){
static public function getFileNameMimeType($path){
if(strpos($path, '.')) {
//try to guess the type by the file extension
if(!self::$mimetypes || self::$mimetypes != include 'mimetypes.list.php') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment