--- loncom/interface/loncommon.pm 2023/01/23 22:50:32 1.1075.2.161.2.15
+++ loncom/interface/loncommon.pm 2023/03/12 02:20:43 1.1075.2.161.2.16
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.1075.2.161.2.15 2023/01/23 22:50:32 raeburn Exp $
+# $Id: loncommon.pm,v 1.1075.2.161.2.16 2023/03/12 02:20:43 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -17704,8 +17704,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);