From 12e9614e7092bde3f7edc552642194561523872e Mon Sep 17 00:00:00 2001 From: Eric Marguin Date: Thu, 30 Nov 2006 10:30:15 +0100 Subject: [PATCH] =?UTF-8?q?[svn=20r10263]=20lp=20created=20with=20ppT?= =?UTF-8?q?=C3=A9lp=20won't=20be=20prefixed=20by=20"lp=5F"=20anymore.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/newscorm/presentation.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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');