unknown 12 years ago
parent 7de3b158a7
commit 7aefb9fa06
  1. 2
      main/newscorm/lp_controller.php

@ -204,7 +204,7 @@ if (isset($_SESSION['oLP'])) {
$_SESSION['oLP']->message = ''; // Should use ->clear_message() method but doesn't work.
}
if (isset($_SESSION['studentview']) && $_SESSION['studentview']=='studentview') {
if (isset($_SESSION['studentview']) && $_SESSION['studentview'] == 'studentview') {
if ($_REQUEST['action'] != 'list' AND $_REQUEST['action'] != 'view') {
if (!empty($_REQUEST['lp_id'])) {
$_REQUEST['action'] = 'view';

Loading…
Cancel
Save