From 36e2a88191a8dd59b642bf7b55692e18ad7e93fa Mon Sep 17 00:00:00 2001 From: Stephen Lang Date: Wed, 22 Aug 2012 13:54:09 +0100 Subject: [PATCH] Fixed bug where autodetect fails, wrong default set. --- src/phorkie/Repository/Post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phorkie/Repository/Post.php b/src/phorkie/Repository/Post.php index fe2372f..de987e0 100644 --- a/src/phorkie/Repository/Post.php +++ b/src/phorkie/Repository/Post.php @@ -197,7 +197,7 @@ class Repository_Post protected function findExtForType($type) { - $ext = 'text/plain'; + $ext = 'txt'; foreach ($GLOBALS['phorkie']['languages'] as $lext => $arLang) { if ($arLang['mime'] == $type) { $ext = $lext; -- 2.30.2