From 8db05274a9e29eda72682316f1dd7f9f636b9edd Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Mon, 17 Mar 2008 22:39:04 +0100 Subject: [PATCH] [svn r14634] Added tool name in display_header() call --- main/survey/reporting.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main/survey/reporting.php b/main/survey/reporting.php index e3bbc1f3ef..230d345d2a 100644 --- a/main/survey/reporting.php +++ b/main/survey/reporting.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: reporting.php 14580 2008-03-12 14:21:20Z pcool $ +* @version $Id: reporting.php 14634 2008-03-17 21:39:04Z yannoo $ * * @todo The question has to be more clearly indicated (same style as when filling the survey) */ @@ -217,7 +217,8 @@ function check_parameters() if ($error) { - Display::display_header(); + $tool_name = get_lang('Reporting'); + Display::display_header($tool_name); Display::display_error_message(get_lang('Error').': '.$error, false); Display::display_footer(); exit;