mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Fixed the empty table in the html_print_table function.
(cherry picked from commit be65df793b5ba0bdfb02a806210621468b88099b)
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)) {
|
||||
$table = new stdClass();
|
||||
}
|
||||
$table->border = '0';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user