diff --git a/main/work/work.lib.php b/main/work/work.lib.php index b10445ed6a..47937754f3 100755 --- a/main/work/work.lib.php +++ b/main/work/work.lib.php @@ -2029,9 +2029,9 @@ function get_work_user_list( $action .= ''. Display::return_icon('export_doc.png', get_lang('ExportToDoc'),array(), ICON_SIZE_SMALL).' '; } - $loadingText = get_lang('Loading'); - $uploadedText = get_lang('Uploaded'); - $failsUploadText = get_lang('UplNoFileUploaded'); + $loadingText = addslashes(get_lang('Loading')); + $uploadedText = addslashes(get_lang('Uploaded')); + $failsUploadText = addslashes(get_lang('UplNoFileUploaded')); $failsUploadIcon = Display::return_icon('closed-circle.png', '', [], ICON_SIZE_TINY); $correction = '
- '.get_lang('ClickOrDropOneFileHere').' + '.addslashes(get_lang('ClickOrDropOneFileHere')).' '.Display::return_icon('upload_file.png', get_lang('Correction'), [], ICON_SIZE_TINY).'