[svn r11701] comment a debug line to allow a function to be used in a static context

skala
Eric Marguin 18 years ago
parent 1e464dc072
commit e614b88865
  1. 2
      main/newscorm/learnpath.class.php

@ -2522,7 +2522,7 @@ class learnpath {
* @return mixed Ordered list of item IDs or false on error
*/
function get_flat_ordered_items_list($lp,$parent=0){
if($this->debug>0){error_log('New LP - In learnpath::get_flat_ordered_items_list('.$lp.','.$parent.')',0);}
//if($this->debug>0){error_log('New LP - In learnpath::get_flat_ordered_items_list('.$lp.','.$parent.')',0);}
$list = array();
if(empty($lp)){return false;}
$tbl_lp_item = Database::get_course_table('lp_item');

Loading…
Cancel
Save