Merge pull request #13184 from owncloud/fix-key

Verify existence of $_GET key
This commit is contained in:
Lukas Reschke 2015-01-09 10:39:22 +01:00
commit b4606ec24f
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
<?php
\OC::$server->getSession()->close();
print OC_Helper::mimetypeIcon($_GET['mime']);
$mime = isset($_GET['mime']) ? $_GET['mime'] : '';
print OC_Helper::mimetypeIcon($mime);