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

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 06 Dec 2006 19:03:37 -0000


albertel		Wed Dec  6 14:03:37 2006 EDT

  Modified files:              
    /loncom/interface	lonfeedback.pm 
  Log:
  - the coprrect typo fix. sorry about that
  
  
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.228 loncom/interface/lonfeedback.pm:1.229
--- loncom/interface/lonfeedback.pm:1.228	Wed Dec  6 10:14:50 2006
+++ loncom/interface/lonfeedback.pm	Wed Dec  6 14:03:37 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Feedback
 #
-# $Id: lonfeedback.pm,v 1.228 2006/12/06 15:14:50 www Exp $
+# $Id: lonfeedback.pm,v 1.229 2006/12/06 19:03:37 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2710,7 +2710,7 @@
   my %to=();
   if ($env{'form.discuss'} eq 'author' ||$author) {
     $typestyle.='Submitting as Author Feedback<br />';
-    $feedurl=~ s/^\/res\/($LONCAPA::domain_re)/($LONCAPA::username_re)/;
+    $feedurl=~ {^/res/($LONCAPA::domain_re)/($LONCAPA::username_re)/};
     $to{$2.':'.$1}=1;
   }
   if ($env{'form.discuss'} eq 'question' ||$question) {