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:
Tony Murray
2023-10-07 20:14:00 -05:00
committed by GitHub
parent 6848527753
commit ac23c133d9
4 changed files with 40 additions and 9 deletions

View File

@@ -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';