mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Minor changes for PHP8
This commit is contained in:
parent
69a5ce89de
commit
06e8e5acdd
@ -963,7 +963,7 @@ class profile extends cora\crud {
|
|||||||
],
|
],
|
||||||
'metadata' => [
|
'metadata' => [
|
||||||
'generated_at' => date('c'),
|
'generated_at' => date('c'),
|
||||||
'duration' => round((time() - strtotime($first_timestamp)) / 86400),
|
'duration' => $first_timestamp === null ? null : round((time() - strtotime($first_timestamp)) / 86400),
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user