[imp] imp/attachment.php
Hiromi Kimura
hiromi at tac.tsukuba.ac.jp
Fri Dec 14 06:31:12 UTC 2007
Is this a typo?
--- imp/attachment.php.orig Tue Jan 2 22:54:53 2007
+++ imp/attachment.php Fri Dec 14 13:02:37 2007
@@ -128,7 +128,7 @@
}
$mime_type = MIME_Magic::analyzeData($file_data, isset($conf['mime']['magic_db']) ? $conf['mime']['magic_db'] : null);
if ($mime_type === false) {
- $type = MIME_Magic::filenameToMIME($file_name, false);
+ $mime_type = MIME_Magic::filenameToMIME($file_name, false);
}
// Send the client the file.
More information about the imp
mailing list