Index: openacs-4/packages/dotlrn-catalog/lib/course-chunk.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-catalog/lib/course-chunk.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/dotlrn-catalog/lib/course-chunk.tcl 14 Feb 2005 22:46:11 -0000 1.1 +++ openacs-4/packages/dotlrn-catalog/lib/course-chunk.tcl 16 Feb 2005 00:22:12 -0000 1.2 @@ -16,10 +16,20 @@ set asmid "-1" } +if { ![info exists revision] } { + set revision "no" +} + set category_p [db_string get_category { } -default -1] +set info [ad_html_text_convert -from text/enhanced -to text/plain $info] + set cc_package_id [apm_package_id_from_key "dotlrn-catalog"] set tree_id [db_string get_tree_id { } -default "-1"] # Get the category name -set category_name "[category::get_name [category::get_mapped_categories $course_id]]" \ No newline at end of file +set category_name "[category::get_name [category::get_mapped_categories $course_id]]" + + +# For dotlrn associations +db_multirow relations relation { } \ No newline at end of file