File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1962,7 +1962,7 @@ function convertModal (id, format) {
1962
1962
}
1963
1963
1964
1964
// Icons (clickable)
1965
- $ row [] = DocumentManager::create_document_link (
1965
+ $ row [] = Security:: remove_XSS ( DocumentManager::create_document_link (
1966
1966
$ http_www ,
1967
1967
$ document_data ,
1968
1968
true ,
@@ -1971,7 +1971,7 @@ function convertModal (id, format) {
1971
1971
$ size ,
1972
1972
$ isAllowedToEdit ,
1973
1973
$ is_certificate_mode
1974
- );
1974
+ )) ;
1975
1975
1976
1976
$ path_info = pathinfo ($ document_data ['path ' ]);
1977
1977
if (isset ($ path_info ['extension ' ]) &&
@@ -2003,7 +2003,7 @@ function convertModal (id, format) {
2003
2003
$ titleWithLink .= $ invisibility_span_close .$ user_link ;
2004
2004
$ row [] = $ titleWithLink ;
2005
2005
2006
- if ($ document_data ['filetype ' ] == 'folder ' ) {
2006
+ if ($ document_data ['filetype ' ] === 'folder ' ) {
2007
2007
$ displaySize = '<span id="document_size_ ' .$ document_data ['id ' ]
2008
2008
.'" data-path= " ' .$ document_data ['path ' ]
2009
2009
.'" class="document_size"></span> ' ;
You can’t perform that action at this time.
0 commit comments