[svn r10263] lp created with ppTélp won't be prefixed by "lp_" anymore.

skala
Eric Marguin 19 years ago
parent acac27274f
commit 12e9614e70
  1. 3
      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');

Loading…
Cancel
Save