diff --git a/main/newscorm/presentation.class.php b/main/newscorm/presentation.class.php index a3fa11e4ca..36fbc133f0 100644 --- a/main/newscorm/presentation.class.php +++ b/main/newscorm/presentation.class.php @@ -72,8 +72,7 @@ class presentation extends learnpath { else { // create lp - $learnpath_name = 'lp_'; - $learnpath_name .= basename($file); + $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');