--- loncom/interface/lonhtmlcommon.pm 2009/11/23 14:04:37 1.248
+++ loncom/interface/lonhtmlcommon.pm 2009/11/25 13:25:44 1.250
@@ -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.250 2009/11/25 13:25:44 droeschl Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1138,7 +1138,7 @@ sub crumbs {
my $output='';
unless ($noformat) { $output.='
'; }
$output.=''.$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; }
@@ -1501,7 +1501,7 @@ returns: nothing
$item =~ s///;
$html .= "$item";
}
- $html .= '';
+ $html .= '';
if ($category eq 'A') { $html .= "$$links"; }
}
$$links = $html.'';