--- loncom/interface/lonhtmlcommon.pm 2009/11/23 14:04:37 1.248
+++ loncom/interface/lonhtmlcommon.pm 2009/11/24 06:13:20 1.249
@@ -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 @@ 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; }