| @@ -387,9 +387,9 @@ | ||
| 387 | 387 | * Set default fields from request. |
| 388 | 388 | */ |
| 389 | 389 | $this->payment_method_str = LP_Request::get_param( 'payment_method' ); |
| 390 | 390 | $this->order_comment = LP_Request::get_param( 'order_comments' ); |
| 391 | - $this->_checkout_email = LP_Request::get_param( 'checkout-email' ); | |
| 391 | + $this->_checkout_email = LP_Request::get_param( 'checkout-email', '', 'email' ); | |
| 392 | 392 | if ( $this->_checkout_email ) { |
| 393 | 393 | LearnPress::instance()->session->set( 'checkout-email', $this->_checkout_email ); |
| 394 | 394 | } |
| 395 | 395 | |