From: Robin Appelman Date: Thu, 6 Jun 2013 22:17:51 +0000 (+0200) Subject: fix variable name X-Git-Tag: v6.0.0alpha2~622^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0470a5ba94d08447c169114387783d87c70c4382;p=nextcloud-server.git fix variable name --- diff --git a/lib/helper.php b/lib/helper.php index c3dc8740ee8..84ebcf1d558 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -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') {