projects
/
atutor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
144d842
)
http://www.atutor.ca/atutor/mantis/view.php?id=2644
author
joel kronenberg
<joel.kronenberg@utoronto.ca>
Mon, 17 Jul 2006 14:34:01 +0000
(14:34 -0000)
committer
joel kronenberg
<joel.kronenberg@utoronto.ca>
Mon, 17 Jul 2006 14:34:01 +0000
(14:34 -0000)
removed $course_cats
docs/admin/courses.php
patch
|
blob
|
history
diff --git
a/docs/admin/courses.php
b/docs/admin/courses.php
index
5b12bfb
..
70a4351
100644
(file)
--- a/
docs/admin/courses.php
+++ b/
docs/admin/courses.php
@@
-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'])) {