diff --git a/bin/process_pending_btc_transactions b/bin/process_pending_btc_transactions index 04d6e5a2c753604994e9db228c06dfa30e5fad51..ae922a8b3f3c422d1696a0a0c9510ba4eb839fb6 100755 --- a/bin/process_pending_btc_transactions +++ b/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: " \