[LON-CAPA-cvs] cvs: rat(version_2_11_X) / lonpage.pm

raeburn raeburn at source.lon-capa.org
Wed Aug 10 00:37:32 EDT 2016


raeburn		Wed Aug 10 04:37:32 2016 EDT

  Modified files:              (Branch: version_2_11_X)
    /rat	lonpage.pm 
  Log:
  - For 2.11
    - Backport 1.113.
  
  
Index: rat/lonpage.pm
diff -u rat/lonpage.pm:1.111.2.1 rat/lonpage.pm:1.111.2.2
--- rat/lonpage.pm:1.111.2.1	Wed Aug 10 02:58:17 2016
+++ rat/lonpage.pm	Wed Aug 10 04:37:32 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Page Handler
 #
-# $Id: lonpage.pm,v 1.111.2.1 2016/08/10 02:58:17 raeburn Exp $
+# $Id: lonpage.pm,v 1.111.2.2 2016/08/10 04:37:32 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -192,7 +192,7 @@
                   my $now = time;
                   my ($pagefirstaccess,%hastimeleft,%countdowndisp);
                   my ($pagesymb,$courseid,$domain,$name)=&Apache::lonnet::whichuser();
-                  if (($pagesymb && ($courseid ne '') && ($domain ne '') && ($name ne '')) {
+                  if ($pagesymb && ($courseid ne '') && ($domain ne '') && ($name ne '')) {
                       my %times=&Apache::lonnet::get('firstaccesstimes',
                                                      [$courseid."\0".$pagesymb],
                                                      $domain,$name);




More information about the LON-CAPA-cvs mailing list