Do not allow nil tndetails

Stephen Paul Weber created

Change summary

lib/customer_repo.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

lib/customer_repo.rb 🔗

@@ -165,7 +165,7 @@ protected
 	end
 
 	def tndetails(sgx)
-		return unless sgx.registered?
+		return {} unless sgx.registered?
 
 		LazyObject.new { @bandwidth_tn_repo.find(sgx.registered?.phone) || {} }
 	end