Minor: Fix code verified by Flintci - refs BT#19164

pull/3977/head
Christian 4 years ago
parent 837baa0cf1
commit e87f20dbdc
  1. 6
      main/work/work.lib.php

@ -6518,11 +6518,12 @@ function workGetExtraFieldData($workId)
}
/**
* Export the pending works to excel
* Export the pending works to excel.
*
* @params $values
*/
function exportPendingWorksToExcel($values) {
function exportPendingWorksToExcel($values)
{
$headers = [
get_lang('Course'),
get_lang('WorkName'),
@ -6572,5 +6573,6 @@ function exportPendingWorksToExcel($values) {
$fileName = get_lang('StudentPublicationToCorrect').'_'.api_get_local_time();
Export::arrayToXls($tableXls, $fileName);
return true;
}

Loading…
Cancel
Save