[svn r13966] fix a bug with accents in lp name (FS#2081 and http://www.dokeos.com/forum/viewtopic.php?p=39818#39818)

skala
Eric Marguin 17 years ago
parent 0c6fc69fdf
commit 899e3326f6
  1. 2
      main/newscorm/lp_header.php

@ -19,7 +19,7 @@ if(isset($_SESSION['lpobject'])){
$temp = $_SESSION['lpobject']; $temp = $_SESSION['lpobject'];
$_SESSION['oLP'] = unserialize($temp); $_SESSION['oLP'] = unserialize($temp);
} }
$path_name = htmlspecialchars($_SESSION['oLP']->get_name()); $path_name = $_SESSION['oLP']->get_name();
$path_id = $_SESSION['oLP']->get_id(); $path_id = $_SESSION['oLP']->get_id();
// use the flag set in lp_view.php to check if this script has been loaded // use the flag set in lp_view.php to check if this script has been loaded
// as a frame of lp_view.php. Otherwise, redirect to lp_controller // as a frame of lp_view.php. Otherwise, redirect to lp_controller

Loading…
Cancel
Save