Minor - replacing security::remove_XSS by intval

skala
Julio Montoya 15 years ago
parent 2d6fc98ca8
commit 314c0d4484
  1. 9
      main/wiki/index.php

@ -38,13 +38,12 @@
$language_file = 'wiki';
// security
if(isset($_GET['id_session']))
{
$_SESSION['id_session'] = Security::remove_XSS($_GET['id_session']);
if(isset($_GET['id_session'])) {
$_SESSION['id_session'] = intval($_GET['id_session']);
}
// including the global dokeos file
include('../inc/global.inc.php');
include('../inc/global.inc.php');
// section (for the tabs)
$this_section=SECTION_COURSES;

Loading…
Cancel
Save