Index: main/pbx.c =================================================================== --- main/pbx.c (revision 241162) +++ main/pbx.c (working copy) @@ -3612,8 +3612,10 @@ const char *tmp; /* Nothing more to do */ - if (!e->data) + if (!e->data) { + *passdata = '\0'; return; + } /* No variables or expressions in e->data, so why scan it? */ if ((!(tmp = strchr(e->data, '$'))) || (!strstr(tmp, "${") && !strstr(tmp, "$["))) {