Fix variable type in mod_nibblebill

This commit is contained in:
Travis Cross 2013-05-26 11:16:58 +00:00
parent 25d488a801
commit f3541e00f4
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ static void transfer_call(switch_core_session_t *session, char *destination)
static switch_bool_t bill_event(double billamount, const char *billaccount, switch_channel_t *channel)
{
char *sql = NULL, *dsql = NULL;
switch_status_t status = SWITCH_FALSE;
switch_bool_t status = SWITCH_FALSE;
if (globals.custom_sql_save) {
if (switch_string_var_check_const(globals.custom_sql_save) || switch_string_has_escaped_data(globals.custom_sql_save)) {