FS-4370 --resolve
This commit is contained in:
parent
6c406aa0d9
commit
293516be59
|
@ -3577,7 +3577,9 @@ SWITCH_DECLARE(char *) switch_channel_expand_variables_check(switch_channel_t *c
|
||||||
idx = atoi(ptr);
|
idx = atoi(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (vtype == 3 || (sub_val = (char *) switch_channel_get_variable_dup(channel, vname, SWITCH_TRUE, idx))) {
|
if (!sub_val) sub_val = vname;
|
||||||
|
|
||||||
|
if ((sub_val = (char *) switch_channel_get_variable_dup(channel, vname, SWITCH_TRUE, idx))) {
|
||||||
if (var_list && !switch_event_check_permission_list(var_list, vname)) {
|
if (var_list && !switch_event_check_permission_list(var_list, vname)) {
|
||||||
sub_val = "INVALID";
|
sub_val = "INVALID";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue