[svn r14542] Change de (!POST) à empty (POST) line 88

skala
Julio Montoya 18 years ago
parent dbde26fd97
commit 37ecca7464
  1. 4
      main/survey/question.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: question.php 14532 2008-03-06 17:30:24Z juliomontoya $
* @version $Id: question.php 14542 2008-03-07 14:48:09Z juliomontoya $
*/
// name of the language file that needs to be included
@ -85,7 +85,7 @@ if (!in_array($_GET['type'], $possible_types))
}
// displaying the form for adding or editing the question
if (!$_POST['save_question'] && in_array($_GET['type'],$possible_types))
if (empty($_POST['save_question']) && in_array($_GET['type'],$possible_types))
{
// Displaying the header
Display::display_header($tool_name);

Loading…
Cancel
Save