From: <mgu...@us...> - 2010-12-08 21:33:46
|
Revision: 39 http://nagios.svn.sourceforge.net/nagios/?rev=39&view=rev Author: mguthrie88 Date: 2010-12-08 21:33:40 +0000 (Wed, 08 Dec 2010) Log Message: ----------- Modified Paths: -------------- nagiosvshell/trunk/vshell/data/build_groups.php Modified: nagiosvshell/trunk/vshell/data/build_groups.php =================================================================== --- nagiosvshell/trunk/vshell/data/build_groups.php 2010-12-08 21:31:59 UTC (rev 38) +++ nagiosvshell/trunk/vshell/data/build_groups.php 2010-12-08 21:33:40 UTC (rev 39) @@ -265,8 +265,8 @@ if(isset($hostgroups_objs, $servicegroups_objs)) { //print "blah!"; - $hostgroups = build_group_array($hostgroups_objs, 'host'); - $servicegroups = build_group_array($servicegroups_objs, 'service'); + $hostgroups = isset($hostgroups_objs) ? build_group_array($hostgroups_objs, 'host'): ""; + $servicegroups = isset($servicegroups_objs) ? build_group_array($servicegroups_objs, 'service') : ""; } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |