fixed the first two of http://www.atutor.ca/atutor/mantis/view.php?id=2607
authorgreg gay <ggay@ocad.ca>
Sat, 1 Jul 2006 22:47:02 +0000 (22:47 -0000)
committergreg gay <ggay@ocad.ca>
Sat, 1 Jul 2006 22:47:02 +0000 (22:47 -0000)
docs/include/html/course_properties.inc.php

index 4b25ddd..a0de963 100644 (file)
@@ -16,6 +16,8 @@ if (!defined('AT_INCLUDE_PATH')) { exit; }
 require_once(AT_INCLUDE_PATH.'lib/filemanager.inc.php');
 require_once(AT_INCLUDE_PATH.'lib/admin_categories.inc.php');
 
+$_GET['show_courses'] = $addslashes(intval($_GET['show_courses']));
+$_GET['current_cat'] = $addslashes(intval($_GET['current_cat']));
 
 if (($_POST['setvisual'] && !$_POST['settext']) || $_GET['setvisual']) {
        load_editor('banner');