[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface londocs.pm

raeburn raeburn at source.lon-capa.org
Fri Aug 5 18:19:42 EDT 2016


raeburn		Fri Aug  5 22:19:42 2016 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	londocs.pm 
  Log:
  - For 2.11
    - Backport 1.599
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.484.2.61 loncom/interface/londocs.pm:1.484.2.62
--- loncom/interface/londocs.pm:1.484.2.61	Thu Aug  4 17:20:44 2016
+++ loncom/interface/londocs.pm	Fri Aug  5 22:19:42 2016
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.484.2.61 2016/08/04 17:20:44 raeburn Exp $
+# $Id: londocs.pm,v 1.484.2.62 2016/08/05 22:19:42 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -652,7 +652,7 @@
                 } else {
                     $fname =~ s/\W/_/g;
                 }
-                if (length($fname > 15)) {
+                if (length($fname) > 15) {
                     $fname = substr($fname,0,14);
                 }
                 my $initialtext = &mt('Replace with your own content.');




More information about the LON-CAPA-cvs mailing list