Fixed object definitions

This commit is contained in:
Jose Gonzalez 2020-09-07 13:54:18 +02:00
parent e3e7f3b313
commit 42a615166e

View File

@ -150,6 +150,9 @@ if (check_login()) {
$date_to = (string) get_parameter('date_to', date(DATE_FORMAT, $utimestamp)); $date_to = (string) get_parameter('date_to', date(DATE_FORMAT, $utimestamp));
$time_to = (string) get_parameter('time_to', date(TIME_FORMAT, $utimestamp)); $time_to = (string) get_parameter('time_to', date(TIME_FORMAT, $utimestamp));
// Definition of new table.
$formtable = new stdClass();
$formtable->width = '98%'; $formtable->width = '98%';
$formtable->class = 'databox'; $formtable->class = 'databox';
$formtable->data = []; $formtable->data = [];
@ -327,6 +330,9 @@ if (check_login()) {
$result = array_slice($module_data, $offset, $block_size); $result = array_slice($module_data, $offset, $block_size);
} }
// Definition of new class.
$table = new stdClass();
$table->width = '100%'; $table->width = '100%';
$table->class = 'databox data'; $table->class = 'databox data';
$table->data = []; $table->data = [];