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

banghart lon-capa-cvs@mail.lon-capa.org
Tue, 08 Aug 2006 21:34:06 -0000


banghart		Tue Aug  8 17:34:06 2006 EDT

  Modified files:              
    /loncom/interface	portfolio.pm 
  Log:
  	Better to be conventional.
  
  
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.150 loncom/interface/portfolio.pm:1.151
--- loncom/interface/portfolio.pm:1.150	Tue Aug  8 17:29:15 2006
+++ loncom/interface/portfolio.pm	Tue Aug  8 17:34:05 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # portfolio browser
 #
-# $Id: portfolio.pm,v 1.150 2006/08/08 21:29:15 banghart Exp $
+# $Id: portfolio.pm,v 1.151 2006/08/08 21:34:05 banghart Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -72,7 +72,7 @@
     foreach my $field_name (keys(%$anchor_fields)) {
         $anchor .= $field_name.'='.$$anchor_fields{$field_name}.'&';
     }
-    $anchor =~ s\&$\\;
+    $anchor =~ s/&$//;
     $anchor .= &group_args();
     $anchor .= '">'.$inner_text.'</a>';
     return $anchor;