Closed antaflos closed 10 years ago
Make sure to use the sort method only when both is and should are arrays. This should prevent errors like "undefined method `sort' for :absent:Symbol" when a property has never been set for a host, servicecheck, hosttemplate, etc.
is
should
Make sure to use the sort method only when both
is
andshould
are arrays. This should prevent errors like "undefined method `sort' for :absent:Symbol" when a property has never been set for a host, servicecheck, hosttemplate, etc.