[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm
raeburn
raeburn at source.lon-capa.org
Mon Nov 15 18:29:20 EST 2021
raeburn Mon Nov 15 23:29:20 2021 EDT
Modified files:
/loncom/interface lonmenu.pm
Log:
- Fix third arg in conditional operator.
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.511 loncom/interface/lonmenu.pm:1.512
--- loncom/interface/lonmenu.pm:1.511 Mon Nov 15 22:36:37 2021
+++ loncom/interface/lonmenu.pm Mon Nov 15 23:29:20 2021
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.511 2021/11/15 22:36:37 raeburn Exp $
+# $Id: lonmenu.pm,v 1.512 2021/11/15 23:29:20 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -637,7 +637,7 @@
$menu .= &create_submenu($link,$target,&mt($title),\@scndsub,1,undef,
$listclass,$linkattr);
} elsif ($link ne '#') {
- $menu .= ($listclass?'<li class="'.$listclass.'">':'').
+ $menu .= ($listclass?'<li class="'.$listclass.'">':'<li>').
'<a href="'.$link.'" target="'.$target.'" '.$linkattr.'>'.
&mt($title).'</a></li>';
}
More information about the LON-CAPA-cvs
mailing list