[svn r11432] Updated 'export' action to link to learnpath::scorm_export()

skala
Yannick Warnier 18 years ago
parent 4f54887204
commit d218ae0076
  1. 7
      main/newscorm/lp_controller.php

@ -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':

Loading…
Cancel
Save