Fixed the empty table in the html_print_table function.
This commit is contained in:
parent
afecb459c5
commit
be65df793b
|
@ -1442,6 +1442,9 @@ function html_print_table (&$table, $return = false) {
|
|||
}
|
||||
|
||||
if (empty ($table->border)) {
|
||||
if (empty($table)) {
|
||||
$table = new stdClass();
|
||||
}
|
||||
$table->border = '0';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue