diff --git a/social-connect.php b/social-connect.php index c102c43..2d71f20 100644 --- a/social-connect.php +++ b/social-connect.php @@ -127,7 +127,7 @@ function sc_social_connect_process_login( $is_ajax = false ) { $sc_first_name = $names[0]; $sc_last_name = $names[1]; $sc_screen_name = $_REQUEST[ 'social_connect_screen_name' ]; - $sc_avatar = isset($_REQUEST[ 'social_connect_avatar' ]) ? str_replace('http:', '', $_REQUEST[ 'social_connect_avatar' ]) : ''; + $sc_avatar = isset( $_REQUEST['social_connect_avatar'] ) ? str_replace( 'http:', '', $_REQUEST['social_connect_avatar'] ) : ''; $sc_profile_url = ''; // Get host name from URL $site_url = parse_url( site_url() );