]> git.mjollnir.org Git - moodle.git/commitdiff
tablelib: Fix typo.
authortjhunt <tjhunt>
Tue, 10 Mar 2009 05:00:16 +0000 (05:00 +0000)
committertjhunt <tjhunt>
Tue, 10 Mar 2009 05:00:16 +0000 (05:00 +0000)
lib/tablelib.php

index 99d72a0d41aebc5bbbd547c6855d240656ac9558..ff5474a677e24714ed917a178cce863a90637428 100644 (file)
@@ -924,7 +924,7 @@ class flexible_table {
         echo '<tr class="' . implode(' ', $rowclasses) . '">';
 
         // If we have a separator, print it
-        if ($row === NULL && $colcount) {
+        if ($row === NULL) {
             $colcount = count($this->columns);
             echo '<td colspan="'.$colcount.'"><div class="tabledivider"></div></td>';
         } else {