--- loncom/interface/loncommon.pm 2022/12/31 14:08:58 1.1400
+++ loncom/interface/loncommon.pm 2023/03/11 21:58:18 1.1401
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.1400 2022/12/31 14:08:58 raeburn Exp $
+# $Id: loncommon.pm,v 1.1401 2023/03/11 21:58:18 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -18599,8 +18599,10 @@ sub parse_supplemental_title {
my $name = &plainname($uname,$udom);
$name = &HTML::Entities::encode($name,'"<>&\'');
$renametitle = &HTML::Entities::encode($renametitle,'"<>&\'');
- $title=''.&Apache::lonlocal::locallocaltime($time).' '.
- $name.':
'.$foldertitle;
+ $title=''.&Apache::lonlocal::locallocaltime($time).' '.$name;
+ if ($foldertitle ne '') {
+ $title .= ':
'.$foldertitle;
+ }
}
if (wantarray) {
return ($title,$foldertitle,$renametitle);