|
|
|
@ -410,10 +410,11 @@ switch($_REQUEST['action']) |
|
|
|
|
if($debug>0) error_log('New LP - export action triggered',0); |
|
|
|
|
if(!$lp_found){ error_log('New LP - No learnpath given for export',0); require('lp_list.php'); } |
|
|
|
|
else{ |
|
|
|
|
if($_SESSION['oLP']->get_type()==2){ |
|
|
|
|
/*if($_SESSION['oLP']->get_type()==2){ |
|
|
|
|
$_SESSION['oLP']->export_zip(); |
|
|
|
|
} |
|
|
|
|
//require('lp_list.php'); |
|
|
|
|
}*/ |
|
|
|
|
$_SESSION['oLP']->scorm_export(); |
|
|
|
|
require('lp_list.php'); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
case 'delete': |
|
|
|
|