check for escape chars too

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13211 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Rupa Schomaker 2009-04-30 17:22:24 +00:00
parent 48fcd82905
commit 652e4b7e31
1 changed files with 1 additions and 1 deletions

View File

@ -892,7 +892,7 @@ static switch_status_t lcr_load_config()
custom_sql = sql_stream.data;
}
if (switch_string_var_check_const(custom_sql)) {
if (switch_string_var_check_const(custom_sql) || switch_string_has_escaped_data(custom_sql)) {
profile->custom_sql_has_vars = SWITCH_TRUE;
}
if (strstr(custom_sql, "%")) {