add missing escaping to renderFileSummary()
authorDenis Ovsienko <infrastation@yandex.ru>
Thu, 16 Jan 2014 11:26:07 +0000 (15:26 +0400)
committerDenis Ovsienko <infrastation@yandex.ru>
Thu, 16 Jan 2014 11:26:07 +0000 (15:26 +0400)
wwwroot/inc/interface.php

index b884fc89f63ee8d2563e79a8427b6aec9d9d33b7..d22a77b13bbc7e230522225c133432330027c0a0 100644 (file)
@@ -5483,7 +5483,7 @@ function renderMyQuickLinks ()
 function renderFileSummary ($file)
 {
        $summary = array();
-       $summary['Type'] = $file['type'];
+       $summary['Type'] = niftyString ($file['type']);
        $summary['Size'] =
        (
                isolatedPermission ('file', 'download', $file) ?