summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax/mimeicon.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/ajax/mimeicon.php')
-rw-r--r--apps/files/ajax/mimeicon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/mimeicon.php b/apps/files/ajax/mimeicon.php
index c531f5a3e81..82f6695bf08 100644
--- a/apps/files/ajax/mimeicon.php
+++ b/apps/files/ajax/mimeicon.php
@@ -1,6 +1,6 @@
<?php
\OC::$server->getSession()->close();
-$mime = isset($_GET['mime']) ? $_GET['mime'] : '';
+$mime = isset($_GET['mime']) ? (string)$_GET['mime'] : '';
print OC_Helper::mimetypeIcon($mime);