<?php require_once('includes/question.inc.php'); $cs_id=TGET('cs_id'); $qn_id=TGET('qn_id'); $nexturl=TGET('nexturl'); if (!$qn_id && $cs_id) { $DBConn->connect(true); $qn_id=$qn_id=db_load_course_questionnaire_id($DBConn,$cs_id); } if (!$qn_id) return; $_SESSION['reserv.inputcache.domain']='questionnaire.run'; $_SESSION['reserv.inputcache.data']=array( 'answer_data'=>retrieve_transfered_answer_data(null,null,$qn_id), 'errorareamap'=>array() ); $_SESSION['reserv.inputcache.errorareas']=array(); redirect("qx-cmd-questionnaire.run-qn_id-".$qn_id."-op-revise.html".($nexturl?"?nexturl=".urlencode($nexturl):"")); ?>