--- loncom/interface/coursecatalog.pm 2006/09/13 21:35:46 1.4 +++ loncom/interface/coursecatalog.pm 2006/09/25 00:16:56 1.5 @@ -60,6 +60,7 @@ sub handler { my $totcodes = 0; my $jscript = ''; my $formname = 'coursecatalog'; + my $domdesc = $Apache::lonnet::domaindescription{$codedom}; $totcodes = &Apache::lonsupportreq::retrieve_instcodes(\%coursecodes,$codedom,$totcodes); if ($totcodes > 0) { if ($ccode eq '') { @@ -108,7 +109,6 @@ function changeSort(caller) { $r->print($start_page); my $numtitles = @codetitles; - my $domdesc = $Apache::lonnet::domaindescription{$codedom}; $r->print('