diff --git a/src/mod/applications/mod_httapi/mod_httapi.c b/src/mod/applications/mod_httapi/mod_httapi.c index 6011f16458..2e6c589740 100644 --- a/src/mod/applications/mod_httapi/mod_httapi.c +++ b/src/mod/applications/mod_httapi/mod_httapi.c @@ -597,8 +597,8 @@ static switch_status_t parse_playback(const char *tag_name, client_t *client, sw switch_ivr_play_file(client->session, NULL, error_file, &nullargs); switch_event_add_header_string(client->one_time_params, SWITCH_STACK_BOTTOM, name, "invalid"); switch_event_add_header_string(client->one_time_params, SWITCH_STACK_BOTTOM, "input_type", "invalid"); - status = SWITCH_STATUS_SUCCESS; } + status = SWITCH_STATUS_SUCCESS; } else if (status == SWITCH_STATUS_FOUND) { status = SWITCH_STATUS_SUCCESS; submit = 1;