mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix an agent bug if a process ran more than 999 days (#15411)
* Fix an agent bug if a process ran more than 999 days Increase it to 274 years before that happens ;) Fix a few other small bugs * Update schema check file
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
* @subpackage Pages
|
||||
*/
|
||||
|
||||
switch ($vars['order']) {
|
||||
switch ($vars['order'] ?? '') {
|
||||
case 'vsz':
|
||||
$order = '`vsz`';
|
||||
break;
|
||||
@@ -50,7 +50,7 @@ switch ($vars['order']) {
|
||||
break;
|
||||
}//end switch
|
||||
|
||||
if ($vars['by'] == 'desc') {
|
||||
if (isset($vars['by']) && $vars['by'] == 'desc') {
|
||||
$by = 'desc';
|
||||
} else {
|
||||
$by = 'asc';
|
||||
|
Reference in New Issue
Block a user