--- loncom/interface/londocs.pm 2016/08/04 17:20:44 1.484.2.61 +++ loncom/interface/londocs.pm 2016/08/05 22:19:42 1.484.2.62 @@ -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 @@ sub group_import { } 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.');