http://www.atutor.ca/atutor/mantis/view.php?id=2644
authorjoel kronenberg <joel.kronenberg@utoronto.ca>
Mon, 17 Jul 2006 14:34:01 +0000 (14:34 -0000)
committerjoel kronenberg <joel.kronenberg@utoronto.ca>
Mon, 17 Jul 2006 14:34:01 +0000 (14:34 -0000)
removed $course_cats

docs/admin/courses.php

index 5b12bfb..70a4351 100644 (file)
@@ -34,14 +34,6 @@ if (isset($_GET['view'], $_GET['id'])) {
 
 require(AT_INCLUDE_PATH.'header.inc.php'); 
 
-$sql = "SELECT * from ".TABLE_PREFIX."course_cats ORDER BY cat_name ";
-$result = mysql_query($sql, $db);
-if(mysql_num_rows($result) != 0){
-       while($row = mysql_fetch_array($result)){
-               $current_cats[$row['cat_id']] = $row['cat_name'];
-       }
-}
-
 $orders = array('asc' => 'desc', 'desc' => 'asc');
 
 if (isset($_GET['asc'])) {