[LON-CAPA-cvs] cvs: loncom /homework bridgetask.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 06 Nov 2006 16:07:10 -0000


albertel		Mon Nov  6 11:07:10 2006 EDT

  Modified files:              
    /loncom/homework	bridgetask.pm 
  Log:
   forward port 1.184.2.1
  
  
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.190 loncom/homework/bridgetask.pm:1.191
--- loncom/homework/bridgetask.pm:1.190	Thu Nov  2 18:25:40 2006
+++ loncom/homework/bridgetask.pm	Mon Nov  6 11:07:06 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: bridgetask.pm,v 1.190 2006/11/02 23:25:40 albertel Exp $
+# $Id: bridgetask.pm,v 1.191 2006/11/06 16:07:06 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2508,7 +2508,7 @@
 		$result.=
 		    &nested_parse(\$dimension{$dim}{'criteria.'.$id},[@_]);
 		$result.='</p><p class="LC_grade">'.$status_display.'</p>';
-		if ($comment) {
+		if ($comment =~ /\w/) {
 		    $result.='<p class="LC_comment">'.
 			&mt('Comment: [_1]',$comment).'</p>';
 		}