Title: [opsview] [9887] check value of only_with_children
Revision
9887
Author
aburzynski
Date
2012-08-31 11:45:13 +0100 (Fri, 31 Aug 2012)

Log Message

check value of only_with_children

Modified Paths


Modified: trunk/opsview-core/lib/Runtime/ResultSet/OpsviewTopologyMap.pm
===================================================================
--- trunk/opsview-core/lib/Runtime/ResultSet/OpsviewTopologyMap.pm	2012-08-31 08:44:31 UTC (rev 9886)
+++ trunk/opsview-core/lib/Runtime/ResultSet/OpsviewTopologyMap.pm	2012-08-31 10:45:13 UTC (rev 9887)
@@ -89,7 +89,7 @@
     }
 
     # Only with children
-    if ( exists $filters->{only_with_children} ) {
+    if ( $filters->{only_with_children} ) {
         $self = $self->search(
             { "host.num_children" => { '!=' => 0 } },
             { 'join'              => 'host', }

_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to