[svn r10288] Fixed bug in changing lp's visibility (introduced by Kevin)

skala
Yannick Warnier 20 years ago
parent b70467311a
commit 6f23e21099
  1. 2
      main/newscorm/learnpathList.class.php

@ -45,7 +45,7 @@ class learnpathList {
//it prevents ' to be slashed and the input (done by learnpath.class.php::toggle_visibility())
//is done using domesticate()
$myname = domesticate($row['name']);
$mylink = 'newscorm/lp_controller.php?mode=view&lp_id='.$row['id'];
$mylink = 'newscorm/lp_controller.php?action=view&lp_id='.$row['id'];
$sql2="SELECT * FROM $tbl_tool where (name='$myname' and image='scormbuilder.gif' and link LIKE '$mylink%')";
//error_log('New LP - learnpathList::learnpathList - getting visibility - '.$sql2,0);
$res2 = api_sql_query($sql2,__FILE__,__LINE__);

Loading…
Cancel
Save