From df9b99ce16db5cd8ec482d012a78dfad68af0786 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Mon, 22 Jun 2015 17:35:47 +0200 Subject: [PATCH] Fixed the empty table in the html_print_table function. (cherry picked from commit be65df793b5ba0bdfb02a806210621468b88099b) --- pandora_console/include/functions_html.php | 3 +++ 1 file changed, 3 insertions(+) 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'; }