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

raeburn raeburn at source.lon-capa.org
Sun Jan 19 20:26:50 EST 2014


raeburn		Mon Jan 20 01:26:50 2014 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  - Fix typo introduced in rev 1.615 (possibly an artifact of debugging).
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.636 loncom/interface/lonprintout.pm:1.637
--- loncom/interface/lonprintout.pm:1.636	Fri Aug 23 17:00:38 2013
+++ loncom/interface/lonprintout.pm	Mon Jan 20 01:26:50 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.636 2013/08/23 17:00:38 bisitz Exp $
+# $Id: lonprintout.pm,v 1.637 2014/01/20 01:26:50 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4055,7 +4055,7 @@
 		&Apache::lonenc::check_encrypt(&Apache::lonnet::clutter($url));
 	    my $navmap = Apache::lonnavmaps::navmap->new();
 	    my $res   = $navmap->getBySymb($symb);
-	    $res_printable  = $res->resprintable() | $userCanPrint; #printability in course context
+	    $res_printable  = $res->resprintable() || $userCanPrint; #printability in course context
 	    ($res_printstartdate, $res_printenddate) = 	&get_print_dates($res);
 	    ($course_open, $course_close) = &course_print_dates($res);
 	    ($map_open, $map_close)       = &map_print_dates($res);




More information about the LON-CAPA-cvs mailing list