mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-04 09:44:26 +00:00
use newSQL
This commit is contained in:
parent
002be95364
commit
3ad8d246b0
@ -555,6 +555,7 @@ static char *format_custom_sql(const char *custom_sql, callback_t *cb_struct, co
|
||||
/* first replace %s with digits to maintain backward compat */
|
||||
if (cb_struct->profile->custom_sql_has_percent == SWITCH_TRUE) {
|
||||
newSQL = switch_string_replace(custom_sql, "%q", digits);
|
||||
custom_sql = newSQL;
|
||||
}
|
||||
|
||||
/* expand the vars */
|
||||
|
Loading…
x
Reference in New Issue
Block a user