[svn r13587] fix a bug when using the button "filter"

skala
Eric Marguin 18 years ago
parent 0e471ceb58
commit 7b1e3be459
  1. 8
      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 <patrick.cool@UGent.be>, Ghent University: cleanup, refactoring and rewriting large parts of the code
* @version $Id: reporting.php 13389 2007-10-05 02:05:27Z yannoo $
* @version $Id: reporting.php 13587 2007-10-29 16:17:50Z elixir_inter $
*
* @todo The question has to be more clearly indicated (same style as when filling the survey)
*/
@ -689,7 +689,11 @@ function display_complete_report()
/*// the export button
echo '<input type="submit" name="export_report" value="'.get_lang('ExportCurrentReport').'" />';*/
echo '<input type="hidden" name="export_report" value="export_report">';
echo '<input type="hidden" name="export_report" value="export_report">';
echo '</form>';
echo '<form id="form2" name="form2" method="post" action="'.api_get_self().'?action='.$_GET['action'].'&survey_id='.$_GET['survey_id'].'">';
echo '<a href="#" onclick="document.form1.submit();"><img align="absbottom" src="'.api_get_path(WEB_IMG_PATH).'excel.gif">&nbsp;'.get_lang('ExportCurrentReport').'</a>';

Loading…
Cancel
Save