[svn r13922] Minor fix to previous commit

skala
Yannick Warnier 18 years ago
parent c2691267a9
commit 72006d48ec
  1. 5
      main/survey/survey_list.php

@ -21,7 +21,7 @@
* @package dokeos.survey
* @author unknown, the initial survey that did not make it in 1.8 because of bad code
* @author Patrick Cool <patrick.cool@UGent.be>, Ghent University: cleanup, refactoring and rewriting large parts of the code
* @version $Id: survey_list.php 13921 2007-12-04 23:18:46Z yannoo $
* @version $Id: survey_list.php 13922 2007-12-04 23:20:19Z yannoo $
*
* @todo use quickforms for the forms
*/
@ -198,6 +198,7 @@ function display_survey_search_form()
*/
function display_survey_list()
{
$parameters = array();
if ($_GET['do_search'])
{
$message = get_lang('DisplaySearchResults').'<br />';
@ -207,7 +208,7 @@ function display_survey_list()
// Create a sortable table with survey-data
$table = new SortableTable('surveys', 'get_number_of_surveys', 'get_survey_data',2);
$table->set_additional_parameters('');
$table->set_additional_parameters($parameters);
$table->set_header(0, '', false);
$table->set_header(1, get_lang('SurveyName'));
$table->set_header(2, get_lang('SurveyCode'));

Loading…
Cancel
Save