[svn r13591] Removed substringing of objective ID

skala
Yannick Warnier 18 years ago
parent 473ff00ac3
commit 0fb9b13c41
  1. 3
      main/newscorm/scorm_api.php

@ -515,7 +515,8 @@ function LMSSetValue(param, val) {
item_objectives[obj_id] = ['','','','',''];
}
if( req_type == "id" ) {
item_objectives[obj_id][0] = val.substring(51,57);
//item_objectives[obj_id][0] = val.substring(51,57);
item_objectives[obj_id][0] = val;
logit_scorm("Objective "+obj_id+"'s id updated",2);
return_value = 'true';
} else if ( req_type == "score" ) {

Loading…
Cancel
Save