From 37ecca746481afffe2fa6b891687d5c592961736 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Fri, 7 Mar 2008 15:48:09 +0100 Subject: [PATCH] =?UTF-8?q?[svn=20r14542]=20Change=20de=20(!POST)=20=C3=A0?= =?UTF-8?q?=20empty=20(POST)=20line=2088?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/survey/question.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);