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

www lon-capa-cvs@mail.lon-capa.org
Tue, 10 Sep 2002 21:06:23 -0000


www		Tue Sep 10 17:06:23 2002 EDT

  Modified files:              
    /loncom/interface	lonfeedback.pm 
  Log:
  Call appropriate function rather than explicitly prefixing "/res/"
  
  
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.29 loncom/interface/lonfeedback.pm:1.30
--- loncom/interface/lonfeedback.pm:1.29	Mon Aug 26 08:47:28 2002
+++ loncom/interface/lonfeedback.pm	Tue Sep 10 17:06:22 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Feedback
 #
-# $Id: lonfeedback.pm,v 1.29 2002/08/26 12:47:28 www Exp $
+# $Id: lonfeedback.pm,v 1.30 2002/09/10 21:06:22 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -399,9 +399,8 @@
                      $ENV{'course.'.$ENV{'request.course.id'}.'.domain'},
 		     $ENV{'course.'.$ENV{'request.course.id'}.'.num'});
 
-    &redirect_back($r,'/res/'.$url,'Changed discussion status<p>','0');
-
-      
+    &redirect_back($r,&Apache::lonnet::clutter($url),
+       'Changed discussion status<p>','0');
   } else {
 # ------------------------------------------------------------- Normal feedback
   my $feedurl=$ENV{'form.postdata'};