Viewing 4 replies - 1 through 4 (of 4 total)
  • And..?

    Thread Starter Daniel

    (@puntofape)

    And fix it! it’s a Notice, it is not a big problem but could be fixed.

    Lol. You are right, it’s just a notice.

    $scf_input_name     = isset($scf_options['scf_input_name']) ?: null;
    $scf_input_email    = isset($scf_options['scf_input_email']) ?: null;
    $scf_input_subject  = isset($scf_options['scf_input_subject']) ?: null;
    $scf_input_captcha  = isset($scf_options['scf_input_captcha']) ?: null;
    $scf_input_message  = isset($scf_options['scf_input_message']) ?: null;
    
    $scf_strings = array(
        'name' => '<input name="scf_name" id="scf_name" type="text" size="33" maxlength="99" value="' . $value_name . '" placeholder="' . $scf_input_name . '" />',
        'email' => '<input name="scf_email" id="scf_email" type="text" size="33" maxlength="99" value="' . $value_email . '" placeholder="' . $scf_input_email . '" />',
        'subject' => '<input name="scf_subject" id="scf_subject" type="text" size="33" maxlength="99" value="' . $value_subject . '" placeholder="' . $scf_input_subject . '" />',
        'response' => '<input name="scf_response" id="scf_response" type="text" size="33" maxlength="99" value="' . $value_response . '" placeholder="' . $scf_input_captcha . '" />',
        'message' => '<textarea name="scf_message" id="scf_message" cols="33" rows="7" placeholder="' . $scf_options['scf_input_message'] . '">' . $value_message . '</textarea>',
        'error' => ''
    );
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Undefined index: scf_input_subject’ is closed to new replies.