hotfix from prod, avoid crash on old session

Stephen Paul Weber created

Change summary

bin/process_pending_btc_transactions | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

bin/process_pending_btc_transactions 🔗

@@ -169,7 +169,7 @@ class Plan
 
 		def notify_approved
 			sid = REDIS.get("reg-sid_for-#{@customer.id}")
-			tel = REDIS.get("reg-session_tel-#{sid}").sub(/\+/, "%2B")
+			tel = REDIS.get("reg-session_tel-#{sid}")&.sub(/\+/, "%2B")
 			@customer.notify(
 				"Your JMP account has been approved. To complete " \
 				"your signup, click/tap here: " \