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

raeburn raeburn at source.lon-capa.org
Wed Mar 2 09:06:30 EST 2016


raeburn		Wed Mar  2 14:06:30 2016 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  - More replacement of self->symb withe self->{SYMB}.
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.513 loncom/interface/lonnavmaps.pm:1.514
--- loncom/interface/lonnavmaps.pm:1.513	Wed Mar  2 00:51:15 2016
+++ loncom/interface/lonnavmaps.pm	Wed Mar  2 14:06:30 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.513 2016/03/02 00:51:15 raeburn Exp $
+# $Id: lonnavmaps.pm,v 1.514 2016/03/02 14:06:30 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2121,7 +2121,7 @@
 
 
 
-    # Now clear the parm cache and reconstruct the parm hash fromt he big_hash
+    # Now clear the parm cache and reconstruct the parm hash from the big_hash
     # param.xxxx keys.
 
     $self->{PARM_CACHE} = {};
@@ -4532,7 +4532,7 @@
     my $due_date=$self->parmval("duedate", $part);
     if ($interval[0] =~ /\d+/) {
        my $first_access=&Apache::lonnet::get_first_access($interval[1],
-                                                          $self->symb);
+                                                          $self->{SYMB});
 	if (defined($first_access)) {
            my $interval = $first_access+$interval[0];
 	    $date = (!$due_date || $interval < $due_date) ? $interval 
@@ -4614,7 +4614,7 @@
     my $self= shift(); my $partID = shift();
     if (! defined($partID)) { $partID = '0'; }
     my $display=&Apache::lonnet::EXT('resource.'.$partID.'.display',
-                                     $self->symb);
+                                     $self->{SYMB});
     if (! defined($display) || $display eq '') {
         $display = $partID;
     }




More information about the LON-CAPA-cvs mailing list