[LON-CAPA-cvs] cvs: loncom(version_2_8_X) /interface lonquickgrades.pm

raeburn raeburn@source.lon-capa.org
Fri, 12 Dec 2008 18:49:03 -0000


raeburn		Fri Dec 12 18:49:03 2008 EDT

  Modified files:              (Branch: version_2_8_X)
    /loncom/interface	lonquickgrades.pm 
  Log:
  - Eliminate duplication.
  
  
Index: loncom/interface/lonquickgrades.pm
diff -u loncom/interface/lonquickgrades.pm:1.43.2.1 loncom/interface/lonquickgrades.pm:1.43.2.2
--- loncom/interface/lonquickgrades.pm:1.43.2.1	Fri Dec 12 18:44:32 2008
+++ loncom/interface/lonquickgrades.pm	Fri Dec 12 18:49:03 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Quick Student Grades Display
 #
-# $Id: lonquickgrades.pm,v 1.43.2.1 2008/12/12 18:44:32 raeburn Exp $
+# $Id: lonquickgrades.pm,v 1.43.2.2 2008/12/12 18:49:03 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -260,17 +260,15 @@
                              .$thisIndent
                              .'<span class="LC_nobreak">'
                              .$correct.' / '.$attempted.' / '.$total
-                             .'</span></td>'
-                             .&Apache::loncommon::end_data_table_row()
-                    );
+                             .'</span></td>');
                 } else {
                     $r->print('<td valign="top">'
                              .$thisIndent
                              .'<span class="LC_nobreak">'
                              .$correct.' / '.$total
-                             .'</span></td>'
-                             .&Apache::loncommon::end_data_table_row());
+                             .'</span></td>');
                 }
+                $r->print(&Apache::loncommon::end_data_table_row());
             }
         }