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

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);