Index: openacs-4/packages/faq/tcl/faq-sc-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/faq/tcl/faq-sc-procs.tcl,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/faq/tcl/faq-sc-procs.tcl 1 Apr 2004 22:52:47 -0000 1.1 +++ openacs-4/packages/faq/tcl/faq-sc-procs.tcl 27 Apr 2004 12:26:05 -0000 1.2 @@ -28,7 +28,7 @@ content $content \ keywords {} \ storage_type text \ - mime_type text/plain ] + mime text/plain ] } ad_proc -private faq::fts::url { faq_id } { @@ -55,9 +55,9 @@ @creation_date 2004-04-01 } { set title [db_string name { - select f.faq_name from faqs + select f.faq_name from faqs f where faq_id = (select faq_id from faq_q_and_as where entry_id = :entry_id) - } -default "FAQ $faq_id"] + } -default "FAQ $entry_id"] if {[db_0or1row get {select question, answer from faq_q_and_as where entry_id = :entry_id}]} { append title ": $question" @@ -71,7 +71,7 @@ content $content \ keywords {} \ storage_type text \ - mime_type text/plain ] + mime text/plain ] } ad_proc -private faq_qanda::fts::url { entry_id } {