From 314c0d44845fb75f77eb6b23233c1afd4bcf54aa Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Thu, 20 Aug 2009 17:31:56 -0500 Subject: [PATCH] Minor - replacing security::remove_XSS by intval --- main/wiki/index.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/main/wiki/index.php b/main/wiki/index.php index 764793a097..b2e02ad7a3 100644 --- a/main/wiki/index.php +++ b/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;