From 9916c8f5db1a0ea7eebedcd927cb13eb49b05141 Mon Sep 17 00:00:00 2001 From: Klaus Silveira Date: Sat, 14 Jul 2012 15:53:58 -0300 Subject: [PATCH] Make sure it returns at least one usable filetype --- lib/Application/Utils.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Application/Utils.php b/lib/Application/Utils.php index 1858170..1d4c861 100644 --- a/lib/Application/Utils.php +++ b/lib/Application/Utils.php @@ -148,6 +148,8 @@ class Utils return $this->app['filetypes'][$fileType]; } } + + return 'text'; } public function getPager($pageNumber, $totalCommits)