From 72006d48ec4e7af7431d56e44014b4be44491a87 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Wed, 5 Dec 2007 00:20:19 +0100 Subject: [PATCH] [svn r13922] Minor fix to previous commit --- main/survey/survey_list.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main/survey/survey_list.php b/main/survey/survey_list.php index 31228a5729..19bff53c39 100644 --- a/main/survey/survey_list.php +++ b/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 , 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').'
'; @@ -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'));