mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
#12695 wip removing warnings
This commit is contained in:
parent
9084a34514
commit
56e26ab3d5
@ -198,7 +198,7 @@ class Database extends Element
|
||||
$total = 0;
|
||||
foreach ($reads as $key => $read) {
|
||||
if (isset($read['utimestamp']) === false) {
|
||||
$read['utimestamp'] = '';
|
||||
$read['utimestamp'] = 0;
|
||||
}
|
||||
|
||||
$dates[] = date('d-m-Y H:i:s', $read['utimestamp']);
|
||||
@ -277,7 +277,7 @@ class Database extends Element
|
||||
$total = 0;
|
||||
foreach ($writes as $key => $write) {
|
||||
if (isset($write['utimestamp']) === false) {
|
||||
$write['utimestamp'] = '';
|
||||
$write['utimestamp'] = 0;
|
||||
}
|
||||
|
||||
$dates[] = date('d-m-Y H:i:s', $write['utimestamp']);
|
||||
|
@ -101,8 +101,8 @@ class Groups extends Element
|
||||
public function getStatusHeatMapModules():string
|
||||
{
|
||||
global $config;
|
||||
$width = get_parameter('width', 350);
|
||||
$height = get_parameter('height', 275);
|
||||
$width = (int) get_parameter('width', 350);
|
||||
$height = (int) get_parameter('height', 275);
|
||||
|
||||
$id_groups = array_keys(users_get_groups($config['id_user'], 'AR', false));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user