Use safe nav

Stephen Paul Weber created

Change summary

forms/top_up.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

forms/top_up.rb 🔗

@@ -1,7 +1,7 @@
 form!
 title "Buy Account Credit"
 
-if @max_top_up_amount & @max_top_up_amount.positive?
+if @max_top_up_amount&.positive?
 	instructions "Max amount: $#{@max_top_up_amount}"
 end