Eric Marguin преди 18 години
родител
ревизия
127969706a
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      main/newscorm/presentation.class.php

+ 2 - 1
main/newscorm/presentation.class.php

@@ -72,7 +72,8 @@ class presentation extends learnpath {
 	    
 	    else {
 			// create lp
-			$learnpath_name = basename($file);
+			$learnpath_name = 'lp_';
+			$learnpath_name .= basename($file);
 			$learnpath_name = substr($learnpath_name,0, strrpos($learnpath_name,'.'));
 			
 			$this->lp_id = learnpath::add_lp($_course['id'], $learnpath_name,'','guess','manual');