www: guard against missing $xjob->JB_hard_resource_list->qstat_l_requests

Authored by bd808 on Nov 21 2016, 12:47 AM.

Description

www: guard against missing $xjob->JB_hard_resource_list->qstat_l_requests

Seen in logs:
2016-11-21 00:06:25: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Warning:
Invalid argument supplied for foreach() in
/mnt/nfs/labstore-secondary-tools-project/admin/toollabs/www/content/status.php
on line 60
2016-11-21 00:06:25: (mod_fastcgi.c.2673) FastCGI-stderr: PHP Stack
trace: 2016-11-21 00:06:25: (mod_fastcgi.c.2673) FastCGI-stderr: PHP

  1. {main}()

/mnt/nfs/labstore-secondary-tools-project/admin/toollabs/www/index.php:0
2016-11-21 00:06:25: (mod_fastcgi.c.2673) FastCGI-stderr: PHP 2.
include()
/mnt/nfs/labstore-secondary-tools-project/admin/toollabs/www/index.php:135

Change-Id: I939b4baab1b68403a7ac91026036ce4a3a5adf01