[LON-CAPA-cvs] cvs: loncom /interface lonsearchcat.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 10 Feb 2003 21:22:59 -0000


albertel		Mon Feb 10 16:22:59 2003 EDT

  Modified files:              
    /loncom/interface	lonsearchcat.pm 
  Log:
  - double declare
  
  
Index: loncom/interface/lonsearchcat.pm
diff -u loncom/interface/lonsearchcat.pm:1.164 loncom/interface/lonsearchcat.pm:1.165
--- loncom/interface/lonsearchcat.pm:1.164	Sun Feb  2 23:02:17 2003
+++ loncom/interface/lonsearchcat.pm	Mon Feb 10 16:22:59 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Search Catalog
 #
-# $Id: lonsearchcat.pm,v 1.164 2003/02/03 04:02:17 harris41 Exp $
+# $Id: lonsearchcat.pm,v 1.165 2003/02/10 21:22:59 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -570,7 +570,7 @@
     my @domains =&Apache::loncommon::get_domains();
     # adjust the size of the select box
     my $size = 4;
-    my $size = (scalar @domains < ($size - 1) ? scalar @domains + 1 : $size);
+    $size = (scalar @domains < ($size - 1) ? scalar @domains + 1 : $size);
     $scrout.="\n".'<font color="#800000" face="helvetica"><b>'.
         'DOMAINS</b></font><br />'.
             '<select name="domains" size="'.$size.'" multiple>'."\n".