diff --git a/main/newscorm/lp_add_item.php b/main/newscorm/lp_add_item.php index 8abf20b294..d5c1d7844d 100644 --- a/main/newscorm/lp_add_item.php +++ b/main/newscorm/lp_add_item.php @@ -210,7 +210,7 @@ echo ''; echo '
'; // show the template list - if ($_GET['type']=='document') + if (isset($_GET['type']) && $_GET['type']=='document' && !isset($_GET['file'])) { $count_items = count($_SESSION['oLP']->ordered_items); $style = ($count_items > 12)?' style="height:250px;width:230px;overflow-x : auto; overflow-y : scroll;" ':' class="lp_tree" ';