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