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

matthew lon-capa-cvs@mail.lon-capa.org
Mon, 28 Feb 2005 22:37:28 -0000


matthew		Mon Feb 28 17:37:28 2005 EDT

  Modified files:              
    /loncom/interface/statistics	lonstathelpers.pm 
  Log:
  problem_selector: fix 'view' link for resources.
  
  
Index: loncom/interface/statistics/lonstathelpers.pm
diff -u loncom/interface/statistics/lonstathelpers.pm:1.40 loncom/interface/statistics/lonstathelpers.pm:1.41
--- loncom/interface/statistics/lonstathelpers.pm:1.40	Mon Feb 28 15:16:03 2005
+++ loncom/interface/statistics/lonstathelpers.pm	Mon Feb 28 17:37:28 2005
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstathelpers.pm,v 1.40 2005/02/28 20:16:03 matthew Exp $
+# $Id: lonstathelpers.pm,v 1.41 2005/02/28 22:37:28 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -170,7 +170,7 @@
                         if (scalar(@response_ids) > 1) {
                             $seq_str .= &mt('response').' '.$respid;
                         }
-                        my $link = $res->{'src'}.'?symb='.
+                        my $link = $res->src.'?symb='.
                             &Apache::lonnet::escape($res->symb);
                         $seq_str .= (' 'x2).
                             qq{<a target="preview" href="$link">view</a>};