Fixed the empty table in the html_print_table function.

(cherry picked from commit be65df793b)
This commit is contained in:
mdtrooper 2015-06-22 17:35:47 +02:00
parent 447c4ccd6d
commit df9b99ce16
1 changed files with 3 additions and 0 deletions

View File

@ -1442,6 +1442,9 @@ function html_print_table (&$table, $return = false) {
}
if (empty ($table->border)) {
if (empty($table)) {
$table = new stdClass();
}
$table->border = '0';
}