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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 18 Jul 2006 17:20:32 -0000


albertel		Tue Jul 18 13:20:32 2006 EDT

  Modified files:              
    /loncom/interface	lonfeedback.pm 
  Log:
  - style
  
  
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.208 loncom/interface/lonfeedback.pm:1.209
--- loncom/interface/lonfeedback.pm:1.208	Mon Jul 17 19:02:33 2006
+++ loncom/interface/lonfeedback.pm	Tue Jul 18 13:20:32 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Feedback
 #
-# $Id: lonfeedback.pm,v 1.208 2006/07/17 23:02:33 raeburn Exp $
+# $Id: lonfeedback.pm,v 1.209 2006/07/18 17:20:32 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -138,25 +138,10 @@
     &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['previous','sortposts','rolefilter','statusfilter','sectionpick','grouppick','totposters']);
     my $sortposts = $env{'form.sortposts'};
     my $statusfilter = $env{'form.statusfilter'};
-    my @sectionpick = ();
-    if ($env{'form.sectionpick'} =~ /,/) {
-        @sectionpick = split/,/,$env{'form.sectionpick'};
-    } else {
-        $sectionpick[0] = $env{'form.sectionpick'};
-    }
-    my @grouppick = ();
-    if ($env{'form.grouppick'} =~ /,/) {
-        @grouppick = split/,/,$env{'form.grouppick'};
-    } else {
-        $grouppick[0] = $env{'form.grouppick'};
-    }
+    my @sectionpick = split(/,/,$env{'form.sectionpick'});
+    my @grouppick   = split(/,/,$env{'form.grouppick'});
+    my @rolefilter  = split(/,/,$env{'form.rolefilter'});
 
-    my @rolefilter = ();
-    if ($env{'form.rolefilter'} =~ /,/) {
-        @rolefilter = split/,/,$env{'form.rolefilter'};
-    } else {
-        $rolefilter[0] = $env{'form.rolefilter'};
-    }
     my $totposters = $env{'form.totposters'};
     $previous = $env{'form.previous'};
     if ($previous > 0) {