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

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 21 Apr 2004 20:46:58 -0000


matthew		Wed Apr 21 16:46:58 2004 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  &filecategoryselect now calls &select_form with the proper parameters.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.188 loncom/interface/loncommon.pm:1.189
--- loncom/interface/loncommon.pm:1.188	Mon Apr 19 17:28:19 2004
+++ loncom/interface/loncommon.pm	Wed Apr 21 16:46:58 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.188 2004/04/19 21:28:19 matthew Exp $
+# $Id: loncommon.pm,v 1.189 2004/04/21 20:46:58 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1845,7 +1845,7 @@
 
 sub filecategoryselect {
     my ($name,$value)=@_;
-    return &select_form($name,$value,
+    return &select_form($value,$name,
 			'' => &mt('Any category'),
 			map { $_,$_ } sort(keys(%category_extensions)));
 }