Title: [opsview] [10968] Fixed possible warning message during nagconfgen
- Revision
- 10968
- Author
- tvoon
- Date
- 2012-12-10 16:19:24 +0000 (Mon, 10 Dec 2012)
Log Message
Fixed possible warning message during nagconfgen
Modified Paths
Modified: trunk/opsview-core/lib/Opsview/Schema/Notificationmethods.pm
===================================================================
--- trunk/opsview-core/lib/Opsview/Schema/Notificationmethods.pm 2012-12-10 16:12:14 UTC (rev 10967)
+++ trunk/opsview-core/lib/Opsview/Schema/Notificationmethods.pm 2012-12-10 16:19:24 UTC (rev 10968)
@@ -175,7 +175,7 @@
sub required_variables_list {
my $self = shift;
- return split( ",", $self->contact_variables );
+ return split( ",", $self->contact_variables || "" );
}
sub class_title {"notificationmethod"}
_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins