diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index a47cc5952b..9f596376ae 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -1442,6 +1442,9 @@ function html_print_table (&$table, $return = false) { } if (empty ($table->border)) { + if (empty($table)) { + $table = new stdClass(); + } $table->border = '0'; }