Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

weblib: Fix typo in print_table() which was causing invalid <th> tag

MDL-11506
  • Loading branch information...
commit ec7125dc199ec85e04fa5ab35ff34efc2aed0703 1 parent 8353edc
fmarier authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 lib/weblib.php
View
4 lib/weblib.php
@@ -4594,9 +4594,7 @@ function print_table($table, $return=false) {
$align[$key] = '';
}
- $output .= '<th class="header c'.$key.'" scope="col">'. $heading .'</th>';
- // commenting the following code out as <th style does not validate MDL-7861
- //$output .= '<th sytle="vertical-align:top;'. $align[$key].$size[$key] .';white-space:nowrap;" class="header c'.$key.'" scope="col">'. $heading .'</th>';
+ $output .= '<th style="vertical-align:top;'. $align[$key].$size[$key] .';white-space:nowrap;" class="header c'.$key.'" scope="col">'. $heading .'</th>';
}
$output .= '</tr>'."\n";
}
Please sign in to comment.
Something went wrong with that request. Please try again.