diff --git a/main/survey/question.php b/main/survey/question.php index 90fdbcbdb5..76b3c74bca 100644 --- a/main/survey/question.php +++ b/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 , 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);