diff --git a/modules/dialplan/dialplan.c b/modules/dialplan/dialplan.c index 4c86778ef..cc585971b 100644 --- a/modules/dialplan/dialplan.c +++ b/modules/dialplan/dialplan.c @@ -267,7 +267,7 @@ static int dp_update(struct sip_msg * msg, pv_spec_t * src, pv_spec_t * dest, int no_change; pv_value_t val; - no_change = (dest->type == PVT_NONE) || (!repl->s) || (!repl->len); + no_change = (dest->type == PVT_NONE) || (!repl->s); if (no_change) goto set_attr_pvar;