]> git.mjollnir.org Git - moodle.git/commitdiff
incorrect table width in Exercise MDL-7690
authorskodak <skodak>
Sun, 26 Nov 2006 21:37:07 +0000 (21:37 +0000)
committerskodak <skodak>
Sun, 26 Nov 2006 21:37:07 +0000 (21:37 +0000)
mod/exercise/locallib.php

index 036547d71e283bc2531a4b8d3dfb115344e605a4..b672409770e1ea08768aba9f9cef580a246e9595 100644 (file)
@@ -2287,7 +2287,7 @@ function exercise_print_tabbed_heading($tabs) {
     }
 
     // print_simple_box_start("center", "$table->width", "#ffffff", 0);
-    echo "<table width=\"$tabs-width\" border=\"0\" valign=\"top\" align=\"center\" ";
+    echo "<table width=\"$tabs->width\" border=\"0\" valign=\"top\" align=\"center\" ";
     echo " cellpadding=\"$tabs->cellpadding\" cellspacing=\"0\" class=\"generaltable\">\n";
 
     if (!empty($tabs->names)) {