@ -600,11 +597,10 @@ function export_exercise($exerciseId, $standalone=true) {
* @param bool standalone (ie including XML tag, DTD declaration, etc)
* @param int The JavaScript ID for this question. Due to the nature of interactions, we must have a natural sequence for questions in the generated JavaScript.
*/
function export_question($questionId, $standalone=true, $js_id) {
function export_question($questionId, $standalone=true, $js_id) {
$question = new ScormQuestion();
$qst = $question->read($questionId);
if( !$qst )
{
if( !$qst ) {
return '';
}
$question->id = $qst->id;
@ -615,7 +611,7 @@ function export_question($questionId, $standalone=true, $js_id) {
$question->weighting=$qst->weighting;
$question->position=$qst->position;
$question->picture=$qst->picture;
$assessmentItem = new ScormAssessmentItem($question,$standalone);
$assessmentItem = new ScormAssessmentItem($question,$standalone);