mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +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;
|
$total = 0;
|
||||||
foreach ($reads as $key => $read) {
|
foreach ($reads as $key => $read) {
|
||||||
if (isset($read['utimestamp']) === false) {
|
if (isset($read['utimestamp']) === false) {
|
||||||
$read['utimestamp'] = '';
|
$read['utimestamp'] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$dates[] = date('d-m-Y H:i:s', $read['utimestamp']);
|
$dates[] = date('d-m-Y H:i:s', $read['utimestamp']);
|
||||||
@ -277,7 +277,7 @@ class Database extends Element
|
|||||||
$total = 0;
|
$total = 0;
|
||||||
foreach ($writes as $key => $write) {
|
foreach ($writes as $key => $write) {
|
||||||
if (isset($write['utimestamp']) === false) {
|
if (isset($write['utimestamp']) === false) {
|
||||||
$write['utimestamp'] = '';
|
$write['utimestamp'] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$dates[] = date('d-m-Y H:i:s', $write['utimestamp']);
|
$dates[] = date('d-m-Y H:i:s', $write['utimestamp']);
|
||||||
|
@ -101,8 +101,8 @@ class Groups extends Element
|
|||||||
public function getStatusHeatMapModules():string
|
public function getStatusHeatMapModules():string
|
||||||
{
|
{
|
||||||
global $config;
|
global $config;
|
||||||
$width = get_parameter('width', 350);
|
$width = (int) get_parameter('width', 350);
|
||||||
$height = get_parameter('height', 275);
|
$height = (int) get_parameter('height', 275);
|
||||||
|
|
||||||
$id_groups = array_keys(users_get_groups($config['id_user'], 'AR', false));
|
$id_groups = array_keys(users_get_groups($config['id_user'], 'AR', false));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user