Merge pull request #13184 from owncloud/fix-key
Verify existence of $_GET key
This commit is contained in:
commit
b4606ec24f
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue