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

raeburn raeburn@source.lon-capa.org
Tue, 24 Nov 2009 06:13:20 -0000


raeburn		Tue Nov 24 06:13:20 2009 EDT

  Modified files:              
    /loncom/interface	lonhtmlcommon.pm 
  Log:
  - Typo.
  
  
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.248 loncom/interface/lonhtmlcommon.pm:1.249
--- loncom/interface/lonhtmlcommon.pm:1.248	Mon Nov 23 14:04:37 2009
+++ loncom/interface/lonhtmlcommon.pm	Tue Nov 24 06:13:20 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.248 2009/11/23 14:04:37 wenzelju Exp $
+# $Id: lonhtmlcommon.pm,v 1.249 2009/11/24 06:13:20 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1138,7 +1138,7 @@
     my $output='';
     unless ($noformat) { $output.='<br /><tt><b>'; }
     $output.='<font size="'.$size.'">'.$prefix.'/';
-    if (($env{'user.adv'}) | ($env{'user.author'})) {
+    if (($env{'user.adv'}) || ($env{'user.author'})) {
 	my $path=$prefix.'/';
 	foreach my $dir (split('/',$uri)) {
             if (! $dir) { next; }