Explorar o código

[svn r9903] Added aicc 'au' type to save() method

Yannick Warnier %!s(int64=18) %!d(string=hai) anos
pai
achega
ff848a8942
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      main/newscorm/learnpathItem.class.php

+ 1 - 1
main/newscorm/learnpathItem.class.php

@@ -928,7 +928,7 @@ class learnpathItem{
      	$item_id = $this->get_id();
      	//first check if parameters passed via GET can be saved here
      	//in case it's a SCORM, we should get:
-		if($this->type == 'sco'){
+		if($this->type == 'sco' || $this->type== 'au'){
 			$s = $this->get_status(true);
 			if($this->prevent_reinit == 1 AND
 				$s != $this->possible_status[0] AND $s != $this->possible_status[1]){