From 87391656a38d8c02d9b5d20ba9b686b05c9780c6 Mon Sep 17 00:00:00 2001 From: jamiesensei Date: Wed, 10 Jan 2007 06:40:42 +0000 Subject: [PATCH] got rid of 'Changes Saved' message before redirect. --- question/question.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/question/question.php b/question/question.php index 57f283864f..bf957bc095 100644 --- a/question/question.php +++ b/question/question.php @@ -17,7 +17,7 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU Public License * @package question *//** */ - + require_once(dirname(__FILE__) . '/../config.php'); require_once('editlib.php'); // NOTE - is this correct? This is just about editing screens? require_once($CFG->libdir . '/filelib.php'); @@ -27,9 +27,9 @@ $qtype = optional_param('qtype', '', PARAM_FILE); $category = optional_param('category', 0, PARAM_INT); $inpopup = optional_param('inpopup', 0, PARAM_BOOL); - + $CFG->pagepath = 'question/type/'.$qtype; - + // rqp questions set the type to rqp_nn where nn is the rqp_type id if (substr($qtype, 0, 4) == 'rqp_') { @@ -260,7 +260,7 @@ close_window(3); } else { echo ''; - redirect($SESSION->returnurl, $strsaved); + redirect($SESSION->returnurl); } } } -- 2.39.5